apache refuses to load when the ProxyHTMLEnable directive is used

Bug #580260 reported by Christopher Hotchkiss
10
This bug affects 2 people
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-mod-proxy-html:
  Installed: 3.0.1-1
  Candidate: 3.0.1-1
  Version table:
 *** 3.0.1-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

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/sites-enabled/000-default:
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/apache2/error.log

 LogLevel warn

 CustomLog /var/log/apache2/access.log combined

 ProxyRequests off

 SetOutputFilter proxy-html

 ProxyPass /hudson http://localhost:8080/
 ProxyPass /tomcat http://localhost:8081/
 ProxyHTMLURLMap http://localhost:8080 /hudson
 ProxyHTMLURLMap http://localhost:8081 /tomcat

 <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-mod-proxy-html 3.0.1-1
ProcVersionSignature: Ubuntu 2.6.32-22.33-server 2.6.32.11+drm33.2
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

Revision history for this message
Christopher Hotchkiss (christopher-hotchkiss) wrote :
Revision history for this message
JoE (joehillen) wrote :

"ProxyHTMLEnable" is part of the 3.1.x version of mod_proxy_html. You have the 3.0.x version installed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.