On Jan 24, 2008 3:24 PM, Axel-Stephane  SMORGRAV
<[EMAIL PROTECTED]> wrote:
> You need
>
> ServerName www.mysite.com
> ProxyPassReverse / http://www.host1.com/
> ProxyPassReverse / http://www.host2.com/
>
> What ProxyPassReverse does is simply rewriting the Location headers that 
> match the second argument:
>
> If the Location header of the HTTP 30[12] (redirect) starts with 
> http://www.host1.com/, it will be rewritten to http://www.mysite.com/.
> If the Location header of the HTTP 30[12] (redirect) starts with 
> http://www.host2.com/, it will be rewritten to http://www.mysite.com/ as well.
>

 Thanks very much, that worked fine. I had the wrong concept about
ProxyPassReverse, now I see how it works.

--
Dani

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to