ProxyHTML to rewrite URL ProxyHTML to rewrite URL apache apache

ProxyHTML to rewrite URL


Ok, this is what I ended up doing to get it working

ProxyPass /translate/ http://www.example.com:8077/ProxyPassReverse /translate/ http://www.example.com:8077/ProxyHTMLURLMap http://www.example.com:8087 /translate/<Location /translate/>   ProxyPassReverse /   SetOutputFilter  proxy-html   ProxyHTMLURLMap http://www.example.com:8077 /translate/   ProxyHTMLURLMap / /translate/   ProxyHTMLURLMap  /translate/ /translate/   RequestHeader    unset  Accept-Encoding</Location>

This seems to work well. The ProxyHTMLURLMap http://www.example.com:8077 /translate/ line was only needed to translate some "referrer" based urls that caused some pages to end up trying to serve directly from the 8077 port server.