apache refuses to load when the ProxyHTMLEnable directive is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apache Tomcat6 Package for Ubuntu |
New
|
Undecided
|
Unassigned | ||
mod-proxy-html (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 10.04 LTS
Release: 10.04
libapache2-
Installed: 3.0.1-1
Candidate: 3.0.1-1
Version table:
*** 3.0.1-1 0
500 http://
100 /var/lib/
I am trying to setup apache in a reverse proxy model and need to have the html, css and js files rewritten so the links work properly. In the past I have used mod_html_proxy however its key module no longer works with the following error output when starting the server:
Syntax error on line 23 of /etc/apache2/
Invalid command 'ProxyHTMLEnable', perhaps misspelled or defined by a module not included in the server configuration
My relevant apache config is as follows:
<VirtualHost *:80>
DocumentRoot /var/www
ErrorLog /var/log/
LogLevel warn
CustomLog /var/log/
ProxyRequests off
SetOutputFilter proxy-html
ProxyPass /hudson http://
ProxyPass /tomcat http://
ProxyHTMLURLMap http://
ProxyHTMLURLMap http://
<Location /hudson/>
ProxyPassReverse /
ProxyHTMLEnable On
ProxyHTMLURLMap / /hudson/
RequestHeader unset Accept-Encoding
</Location>
<Location /tomcat/>
ProxyPassReverse /
ProxyHTMLEnable On
ProxyHTMLURLMap / /tomcat/
RequestHeader unset Accept-Encoding
</Location>
</VirtualHost>
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libapache2-
ProcVersionSign
Uname: Linux 2.6.32-22-server x86_64
Architecture: amd64
Date: Thu May 13 19:26:29 2010
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mod-proxy-html
"ProxyHTMLEnable" is part of the 3.1.x version of mod_proxy_html. You have the 3.0.x version installed.