]> granicus.if.org Git - apache/commitdiff
proxy-html.conf needs to be included automatically
authorNick Kew <niq@apache.org>
Thu, 10 Nov 2011 00:51:42 +0000 (00:51 +0000)
committerNick Kew <niq@apache.org>
Thu, 10 Nov 2011 00:51:42 +0000 (00:51 +0000)
if mod_proxy_html is loaded.  Otherwise it's a big
gotcha when mod_proxy_html just does nothing at all!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200069 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/httpd.conf.in

index 57a9f2cb58769c2fdad8ed9391cf1d983867de23..d59952f366822544cc7fb9b74d486184b30a77c0 100644 (file)
@@ -388,8 +388,10 @@ LogLevel warn
 # Various default settings
 #Include @rel_sysconfdir@/extra/httpd-default.conf
 
-# If mod_proxy_html is required
-#Include @rel_sysconfdir@/extra/proxy-html.conf
+# Configure mod_proxy_html to understand HTML4/XHTML1
+<IfModule proxy_html_module>
+Include @rel_sysconfdir@/extra/proxy-html.conf
+</IfModule>
 
 # Secure (SSL/TLS) connections
 #Include @rel_sysconfdir@/extra/httpd-ssl.conf