httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Frey <rainer.f...@inxmail.de>
Subject Re: [users@httpd] mod_proxy ProxyPassReverse incorrectly adjusting Location header in redirect?
Date Thu, 12 Apr 2012 06:32:09 GMT

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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message