Re: ProxyPass appears to be rewriting Location headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- 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@xxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux