httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From OpenMacNews <OpenMacN...@speakeasy.net>
Subject [users@httpd] how 2 restrict access to a server to ONLY from/thru another redirected server?
Date Mon, 05 Sep 2005 22:25:49 GMT
hi all,

i've two boxes:

	www.boxA.com
	www.boxB.com

they are on different 'real' IPs on different subnets.

boxA has an Apache server, listening on port 80 as www.boxA.com, that i neither 
control nor can configure ...

boxB runs an Apache server, listening on port XXXX as www2.boxB.com:xxxx, that 
i fully control.


i've set up a PAGE REDIRECT at www.boxA.com/index.html that points to 
http://www.boxB.com:xxxx/index.html.

i'd like to RESTRICT ACCESS to boxB to ONLY those visitors that come from/thru 
the www.boxA.com redirction ... i.e., direct connects to 
<http://www.boxB.com:xxxx/index.html> would be rejected.

also, i'd like to 'hide' the www.boxB.com:xxxx url/port from the average user 
... displaying only the www.boxA.com 'identity'.

is this (1) possible, and (2) something that i should best control/restrict in 
Apache's config or .htaccess, or in html/php/etc/page source?

thx for any pointers!

cheers,

richard

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message