httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Herrera" <correo.greencore.co...@gmail.com>
Subject Re: [users@httpd] ProxyPassReverse doesn't work for redirected sites.
Date Tue, 21 Aug 2007 16:38:42 GMT
Thanks for your help,

It never works, but I already solve the issue with other software (ezproxy),
it costs like 500$, I don't know yet, if the company will want to buy it.

Thank you very much.


On 8/19/07, Joshua Slive <joshua@slive.ca> wrote:
>
> On 8/18/07, Mario Herrera <correo.greencore.co.cr@gmail.com> wrote:
> >
> > I have this configuration:
> >
> >         ServerName cid.ulatina.com
> >
> >         <Proxy *>
> >                 Order deny,allow
> >                 Allow from all
> >         </Proxy>
> >
> >         ProxyPass / http://www.mdconsult.com/
> >         ProxyPassReverse / http://www.mdconsult.com/
> >
> >
> > When I try http://cid.ulatina.com in my browser the site
> > http://www.mdconsult.com redirect me automatically  to another site
> inside
> > the same domain, like www.mdconsult.com/php/homepage.
> >
> > 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
> place.
>
> You may (or may not) be able to rewrite the javascript on-the-fly
> using mod_proxy_html.
>
> 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