Re: ProxyPassReverse not changing the protocol part (https to http) of the redirect url

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

 



Any help or pointer on this? Thanks.


On Sat, Aug 24, 2013 at 3:23 PM, Amit Singla <amitsingla82@xxxxxxxxx> wrote:
I need to proxy http requests to https server in the backend. Everything is working except a minor issues in redirects URLs. ProxyPassReverse translates the the URL except the protocol i.e. does not translate https from backend server to http protocol.

Version: Apache/2.2.15

Below is the configuration for reverse proxy

<VirtualHost *:8888>
SSLProxyEngine On
ProxyPreserveHost On
ProxyPassReverse /shop  https://backend.example.com:9443/shop
</VirtualHost>

e.g.
http://frontoffice.example.com:8888/shop/cart are proxied to https://backend.example.com:9443/shop/cart.  The backend server results in redirect (302) to https://backend.example.com:9443/shop/login but browser is getting the redirect as 

So ProxyPassReverse rewrites the URL except the protocol.

Am I missing some configurations here or this is some known issue or expected behavior?

I will appreciate any help on this front.

Thanks









--
Sent from my Nokia 1100 :)

[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