You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Peter Hartzler <pe...@inspire.com> on 2011/06/10 19:46:22 UTC
[users@httpd] ProxyPass appears to be rewriting Location headers
Hello,
We're having a puzzling issue with setting up a reverse proxy.
Running Debian Lenny, apache2-mpm-prefork, 2.2.9-10+lenny9,
libapache2-mod-perl2 2.0.4-5+lenny1
Have this in our configs:
SSLProxyEngine On
ProxyPass /proxies/cloudsponge https://api.cloudsponge.com/auth
https://api.cloudsponge.com/auth redirects to
https://api.cloudsponge.com/privacy when requested bare.
We are NOT using ProxyPassReverse, since we DO want redirects to make
it back to the browser intact.
However, when we go to our server's /proxies/cloudsponge it appears
that httpd is catching the redirect, and sending the browser to our
server's /privacy location.
What I expected was that the redirect would be passed through intact,
redirecting the browser to https://api.cloudsponge.com/privacy, since
we're not using ProxyPassReverse. is there something I'm missing?
TIA,
Pete.
---------------------------------------------------------------------
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
Re: [users@httpd] ProxyPass appears to be rewriting Location headers
Posted by Igor Galić <i....@brainsware.org>.
----- Original Message -----
> Hello,
>
> We're having a puzzling issue with setting up a reverse proxy.
>
> Running Debian Lenny, apache2-mpm-prefork, 2.2.9-10+lenny9,
> libapache2-mod-perl2 2.0.4-5+lenny1
>
> Have this in our configs:
>
> SSLProxyEngine On
> ProxyPass /proxies/cloudsponge https://api.cloudsponge.com/auth
>
> https://api.cloudsponge.com/auth redirects to
> https://api.cloudsponge.com/privacy when requested bare.
>
> We are NOT using ProxyPassReverse, since we DO want redirects to make
> it back to the browser intact.
>
> However, when we go to our server's /proxies/cloudsponge it appears
> that httpd is catching the redirect, and sending the browser to our
> server's /privacy location.
>
> What I expected was that the redirect would be passed through intact,
> redirecting the browser to https://api.cloudsponge.com/privacy, since
> we're not using ProxyPassReverse. is there something I'm missing?
I'm not entirely sure, but you might be missing
ProxyPass ! /auth
> TIA,
>
> Pete.
i
--
Igor Galić
Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
---------------------------------------------------------------------
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