Re: mod_proxy ProxyPassReverse incorrectly adjusting Location header in redirect?

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

 



On 12.04.2012, at 07:57, Igor Cicimov wrote:

> Where did you get the idea that you can mix protocols in the reverse proxy commands from?
> 
> This makes sense:
>   ProxyPass / http://internal.example.com/
>   ProxyPassReverse / http://internal.example.com/ 
> 
> This doesn't:
>   ProxyPass / https://internal.example.com/
>   ProxyPassReverse / http://internal.example.com/ 

That is wrong. It does not do what the OP expected, but it is definitely possible to do that, if the backend sends non-HTTPS redirects even though it was accessed via HTTPS.

The protocol of the result of the ProxyPassReverse is determined by the context of the virtual host in which these directives are placed though.

Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-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