Compdigitec Labs

« | Home | »

Reverse proxy with HTML rewriting using Apache

By admin | May 25, 2014

<VirtualHost *:80>
 ServerName foo.example.com

 ... other directives ...

 ProxyHTMLEnable On (comment in some cases)
 SetOutputFilter proxy-html
 SetOutputFilter inflate;proxy-html;deflate  (for compression issues - e.g. The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression)

 ProxyHTMLURLMap http://192.168.12.34/myfolders/ /
 ProxyHTMLURLMap /myfolders /
</VirtualHost>

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux | 2 Comments »

2 Responses to “Reverse proxy with HTML rewriting using Apache”

  1. ชอบหีสวย.com Says:
    July 17th, 2024 at 21:57

    … [Trackback]

    […] Find More Information here on that Topic: compdigitec.com/labs/2014/05/25/reverse-proxy-with-html-rewriting-using-apache/ […]

  2. 86kub Says:
    July 22nd, 2024 at 20:50

    … [Trackback]

    […] Info on that Topic: compdigitec.com/labs/2014/05/25/reverse-proxy-with-html-rewriting-using-apache/ […]

Comments