httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] ProxyPassReverse doesn't work for redirected sites.
Date Sun, 19 Aug 2007 17:22:19 GMT
On 8/18/07, Mario Herrera <> wrote:
> I have this configuration:
>         ServerName
>         <Proxy *>
>                 Order deny,allow
>                 Allow from all
>         </Proxy>
>         ProxyPass /
>         ProxyPassReverse /
> When I try in my browser the site
> redirect me automatically  to another site inside
> the same domain, like
> At this moment the URL of my browser has been changed to this second site,
> and I lose my ProxyPassReverse.

I briefly looked at your site, and it uses a complicated chain of
redirects to check cookies and do auth stuff. My guess is that one of
these redirects is not a true HTTP redirect (using the Location HTTP
response header), but rather some javascript code that asks the
browser to do the redirect. ProxyPassReverse acts only on the Location
header, and therefore the javascript will still point to the wrong

You may (or may not) be able to rewrite the javascript on-the-fly
using mod_proxy_html.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message