httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] ProxyPreserveHost and ProxyPass
Date Tue, 08 Jun 2004 17:50:17 GMT

On Tue, 8 Jun 2004, Yu, Ming wrote:
> ProxyRequests On

Why is ProxyRequests On?  This is probably a major security problem, 
unless you have proper forward-proxy restrictions in place someplace. 
Check the mod_proxy docs.

> .
> .
> ProxyPass        /test1/      http://proxied.abc.com/essence/
> ProxyPassReverse /test1/      http://proxied.abc.com/essence/
>
> ProxyPass 	/test2/	http://test.abc.com/ 
> ProxyPassReverse /test2/ http://test.abc.com/

> Before the ProxyPreserveHost is set to On, everything works fine.  But when
> ProxyPreserveHost has been turned on, only test1 works fine, test2 stop
> working.

Please define "stop working".  Exactly what do you see?

Is it possible that test.abc.com is sending redirects using the Host: 
header that it is receiving from your server?  Then obviously it would not 
match test.abc.com.  If that is the case, you probably want
ProxyPassReverse /test2/ http://thisserver.example.com/

Joshua.

---------------------------------------------------------------------
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