Apache mod_proxy_html on Ubuntu ProxyHTMLEnable not working

I am trying to use mod_proxy_html on Ubuntu which I installed from apt-get. The module loads properly, and all ProxyHTML * directives work, except for the most important. When I do "ProxyHTMLEnable on" in my apache2.conf or vhost conf files, apache complains that this is an invalid directive and I had to seal it. Does anyone else have this problem on Ubuntu and what can be done to fix it?

+3
source share
2 answers

Have you tried to completely exclude "ProxyHTMLEnable"? I think the directive is new and not version in Ubuntu.

"SetOutputFilter proxy-html"

+11

, , , - Google.

ProxyHTMLEnable On SetOuputFilter proxy-html, . "Gotcha" , mod_proxy_html , .

SetOutputFilter INFLATE;proxy-html;DEFLATE SetOuputFilter proxy-html . (, )

, : http://wiki.uniformserver.com/index.php/Reverse_Proxy_Server_2:_mod_proxy_html_2#Cause_and_Solution_3

+8

Source: https://habr.com/ru/post/1736932/


All Articles