Re: [EMAIL PROTECTED] mod_proxy not handling redirects correctly

2008-01-24 Thread Dani Pardo
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

[EMAIL PROTECTED] mod_proxy not handling redirects correctly

2008-01-24 Thread Dani Pardo
Hi all, I have an environment in which I reverse proxy some servers depending on the value of a cookie, that is: RewriteCond %{HTTP_COOKIE} ^.*destination_host=host1.*$ RewriteRule (.+) http://www.host1.com$1 [P] RewriteCond %{HTTP_COOKIE} ^.*destination_host=host2.*$