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 | 1 Comment »

One Response to “Reverse proxy with HTML rewriting using Apache”

  1. buy weed online in Europe Says:
    April 24th, 2024 at 14:15

    … [Trackback]

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

Comments