Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98670 - www-apache/mod_proxy_html-2.5.1 is TESTED on amd64
Summary: www-apache/mod_proxy_html-2.5.1 is TESTED on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords: TESTED
Depends on:
Blocks:
 
Reported: 2005-07-11 07:00 UTC by Knut Masanetz
Modified: 2006-07-10 08:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
My mod_proxy_html.conf (27_mod_proxy_html.conf,278 bytes, text/plain)
2005-08-18 05:12 UTC, Knut Masanetz
Details
Part of my httpd.conf (98_ctplusrom.conf,536 bytes, text/plain)
2005-08-18 05:13 UTC, Knut Masanetz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Masanetz 2005-07-11 07:00:59 UTC
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
Comment 1 Jim Laflin 2005-08-15 19:22:38 UTC
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
Comment 2 Knut Masanetz 2005-08-18 05:12:18 UTC
Created attachment 66223 [details]
My mod_proxy_html.conf
Comment 3 Knut Masanetz 2005-08-18 05:13:16 UTC
Created attachment 66224 [details]
Part of my httpd.conf
Comment 4 Knut Masanetz 2005-08-18 05:13:36 UTC
Attached my configs...
Comment 5 Jim Laflin 2005-08-18 05:40:58 UTC
Thanks for that, just off to work right now so will test when I get home

Jim
Comment 6 Jim Laflin 2005-09-24 04:55:21 UTC
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
Comment 7 Knut Masanetz 2005-09-24 09:02:45 UTC
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
Comment 8 Simon Stelling (RETIRED) gentoo-dev 2005-10-04 14:16:20 UTC
we're currently testing a new alias system, sorry for the bugspam
Comment 9 Michael Weyershäuser 2006-07-07 02:44:10 UTC
OK, I give this a TESTED from my side...
Comment 10 Simon Stelling (RETIRED) gentoo-dev 2006-07-10 08:29:30 UTC
keyworded, thanks for testing/reporting/waiting ;)