Hi, I run Linux Mint 11 Katya and installed the libapache2-mod-proxy-html library stephane-ThinkPad-T43 stephane # apt-cache show libapache2-mod-proxy-html Package: libapache2-mod-proxy-html Priority: optional Section: universe/web Installed-Size: 144 Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com> Original-Maintainer: Emmanuel Lacour <elacour@home-dn.net> Architecture: i386 Source: mod-proxy-html Version: 3.0.1-1 Depends: libc6 (>= 2.4), apache2, apache2.2-common, libxml2 (>> 2.5.10) Filename: pool/universe/m/mod-proxy-html/libapache2-mod-proxy-html_3.0.1-1_i386.deb Size: 27002 MD5sum: 4b7d5141b84259ace3041c532ece7153 SHA1: d3c47fa4f8f614ddd3e543a36a15cfb347f979b7 SHA256: 6a8497d5f741da67f33abe44152a80b7a79c4d297d2c31790dd60887013e4e74 Description: Apache2 filter module for HTML links rewriting mod_proxy_html is an output filter to rewrite HTML links in a proxy situation, to ensure that links work for users outside the proxy. It serves the same purpose as Apache's ProxyPassReverse directive does for HTTP headers, and is an essential component of a reverse proxy. Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Now, I'm trying to compile my Apache httpd-2.2.21 with it: stephane@stephane-ThinkPad-T43:httpd-2.2.21> ./configure --prefix=/home/stephane/programs/install/apache --enable-module=so --enable-libgcc --enable-module=most --enable-shared=max --enable-module=rewrite --enable-proxy --enable-proxy-http --enable-proxy-html --enable-proxy-connect --enable-proxy-balancer --enable-proxy-ajp The configure, make and make install run fine without any error messages. But the module is no where to be seen: stephane@stephane-ThinkPad-T43:~> /home/stephane/programs/install/apache/bin/httpd -l Compiled in modules: core.c mod_authn_file.c mod_authn_default.c mod_authz_host.c mod_authz_groupfile.c mod_authz_user.c mod_authz_default.c mod_auth_basic.c mod_include.c mod_filter.c mod_log_config.c mod_env.c mod_setenvif.c mod_version.c mod_proxy.c mod_proxy_connect.c mod_proxy_ftp.c mod_proxy_http.c mod_proxy_scgi.c mod_proxy_ajp.c mod_proxy_balancer.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_cgi.c mod_negotiation.c mod_dir.c mod_actions.c mod_userdir.c mod_alias.c mod_so.c stephane@stephane-ThinkPad-T43:~> And when I try to start Apache, I get an error for a directive that is not understood: stephane@stephane-ThinkPad-T43:~> /home/stephane/programs/install/apache/bin/apachectl start Syntax error on line 435 of /home/stephane/programs/install/apache/conf/httpd.conf: Invalid command 'ProxyHTMLURLMAP', perhaps misspelled or defined by a module not included in the server configuration My understanding, is that this directive is supposed to be parsed by the proxy-html module and this latter has not been compiled into Apache. Is it a correct diagnostic ? Any way to solve this issue ? Stephane
I failed to compile mod_proxy_html and so I copied all the mod_proxy_....so module files into my specifix prefix directory and added the LoadModule directives and can now start apache just fine. Thanks. LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_html_module modules/mod_proxy_html.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_scgi_module modules/mod_proxy_scgi.so