httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] mod_proxy ProxyPassReverse incorrectly adjusting Location header in redirect?
Date Thu, 12 Apr 2012 07:17:44 GMT
>
>
>
On Thu, Apr 12, 2012 at 4:32 PM, Rainer Frey <rainer.frey@inxmail.de> wrote:

>
> 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
>
>
No it's not wrong I'm just pointing that it can't be done via mod_proxy as
OP expects to, which was his question exactly.

Mime
View raw message