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 | 7 Comments »

7 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/ […]

  3. ธรรมนูญครอบครัว Says:
    August 2nd, 2024 at 18:52

    … [Trackback]

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

  4. ส่งพัสดุ Says:
    September 10th, 2024 at 21:53

    … [Trackback]

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

  5. hacking in overwatch Says:
    September 26th, 2024 at 02:05

    … [Trackback]

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

  6. marbo 9000 Says:
    October 15th, 2024 at 06:43

    … [Trackback]

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

  7. wing888 Says:
    October 19th, 2024 at 23:21

    … [Trackback]

    […] Here you can find 54381 additional Information on that Topic: compdigitec.com/labs/2014/05/25/reverse-proxy-with-html-rewriting-using-apache/ […]

Comments