Compile Apache 2.2.21 with proxy-html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
Original-Maintainer: Emmanuel Lacour <elacour@xxxxxxxxxxx>
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
-- 
View this message in context: http://old.nabble.com/Compile-Apache-2.2.21-with-proxy-html-tp33173580p33173580.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux