I'm trying to configure Apache on Centos 6 to proxy and reverse proxy traffic to an http server of a third party provider.
The setup should work like this:
https://mydomain.com/proxy/
proxies all trafic transparently to
http://thirdparty.com/app/
The issue I'm having is any request made to https://mydomain.com/proxy/
gets a 301 redirect in response.
These are all of the proxy related options in my VirtualHost
SetOutputFilter proxy-html
ProxyHTMLExtended On
ProxyRequests Off
SSLProxyEngine On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /proxy/ http://thirdparty.com/app/
<Location /proxy/>
ProxyPassReverse /
ProxyHTMLEnable On
ProxyHTMLURLMap http://thirdparty.com/app/ /proxy/
ProxyHTMLURLMap / /proxy/
</Location>