Tried to compile and configure www-apache/mod_proxy_html-2.4.3 on an AMD64 (Opteron 244) System. Compiles and works. You just need to insert a line "LoadFile /usr/lib/libxml2.so" before the LoadModule-line in the file 27_mod_proxy_html.conf (see http://www.apacheweek.com/features/reverseproxies) Reproducible: Always Steps to Reproduce: 1. Changed the Keyword to ~amd64 2. Compiled 3. First time apache won't start 4. Added the line "LoadFile /usr/lib/libxml2.so" to the file 27_mod_proxy_html.conf 5. Configured ProxyPass, SetOutputFilter and ProxyHTMLURLMap directives 6. Started apache 7. works Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r4 x86_64) ================================================================= System uname: 2.6.12-gentoo-r4 x86_64 AMD Opteron(tm) Processor 244 Gentoo Base System version 1.6.12 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.uni-kl.de/pub/linux/gentoo/ ftp://ftp.tu- clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth- aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni- muenster.de/pub/linux/distributions/gentoo ftp://mirrors.sec.informatik.tu- darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="de_DE@euro" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 acl acpi apache2 berkdb bitmap-fonts crypt cups curl font-server foomaticdb fortran gd gif gimpprint gpm imagemagick jp2 jpeg ldap libwww lzw lzw-tiff mp3 mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses nls opengl oss pam perl php png postfix ppds python quotas readline sasl snmp ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Can't get it working here I'm afraid It all seems to load, but it doesn't act upon the configuration options I give it even the simple ProxyHTMLStripComments On doesn't work Feel free to mail me your httpd.conf and 27_mod_proxy_html.conf Cheers Jim
Created attachment 66223 [details] My mod_proxy_html.conf
Created attachment 66224 [details] Part of my httpd.conf
Attached my configs...
Thanks for that, just off to work right now so will test when I get home Jim
Am I being completely stupid here? ProxyHTMLURLMap from-pattern to-pattern flags That command just doesn't work for me. And this is one of the main functions of the module With your configuration, I assume localhost/ct is supposed to go to localhost:2040 ? doesn't happen here Thanks Jim
Yes, with this configuration, every request for https://<mydomain>/ct/ is mapped to http://localhost:2040. That way i can access my ct-Server on localhost:2040 via my Apache in the /ct/ path. Without mod_proxy_html all links on the ct-Server are mislocated to the documentroot of my apache. Cheers Knut
we're currently testing a new alias system, sorry for the bugspam
OK, I give this a TESTED from my side...
keyworded, thanks for testing/reporting/waiting ;)