Hello,
I have a mod_proxy_html question:
Software used:
- Red Hat Enterprise Linux AS release 3 (Taroon Update 6)
- httpd-2.1.9 (because I need mod_proxy_balancer)
- mod_proxy_html 2.5
I use the following configuration for a reverse proxy vhost:
SSLEngine on
ServerName XXX.YYY.ZZZ
SSLCertificateFile conf/ssl/cert.cer
SSLCertificateKeyFile conf/ssl/cert.key
ProxyPass /token http://172.28.0.8:81/tmsweb
ProxyPassReverse /token http://172.28.0.8:81/tmsweb
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap /tmsweb /token
ProxyHTMLFixups lowercase
ProxyHTMLExtended On
ProxyPass /webmail balancer://webmailcluster
ProxyPassReverse /webmail http://172.28.0.15
ProxyPassReverse /webmail http://172.28.0.16
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / /webmail/
ProxyHTMLURLMap /webmail/ /webmail/
ProxyHTMLFixups lowercase
ProxyHTMLExtended On
ProxyHTMLLogVerbose on
BalancerMember http://172.28.0.15
BalancerMember http://172.28.0.16
ErrorLog "| /opt/vw/apache/2.1.9/bin/rotatelogs
/opt/vw/apache/2.1.9/logs/443/error_%Y%m%d.log 86400"
CustomLog "| /opt/vw/apache/2.1.9/bin/rotatelogs
/opt/vw/apache/2.1.9/logs/443/access_%Y%m%d.log 86400" common
SetHandler balancer-manager
Order allow,deny
Allow from 172.28.0
The token server works as expected. Links are getting rewritten, and the
site works fine. However, the webmail location has a problem: If I disable
the output filter, the content isn't changed (of course), but if I enable
the filter, I get the following error:
curl -i -k -u "user:pwd" https://localhost/webmail/
curl: (52) Empty reply from server
I see in the main server config the following:
[Thu Nov 24 16:45:12 2005] [notice] child pid 15017 exit signal
Segmentation fault (11)
I enabled coredumping, and if I run gdb on the coredump, I get the
following trace:
gdb ../bin/httpd core.15930
GNU gdb Red Hat Linux (6.3.0.0-1.62rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".
Core was generated by `/opt/vw/apache/2.1.9/bin/httpd -k start'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /opt/vw/apache/2.1.9/lib/libaprutil-1.so.0...done.
Loaded symbols for /opt/vw/apache/2.1.9/lib/libaprutil-1.so.0
Reading symbols from /usr/lib/libgdbm.so.2...done.
Loaded symbols for /usr/lib/libgdbm.so.2
Reading symbols from /lib/libdb-4.1.so...done.
Loaded symbols for /lib/libdb-4.1.so
Reading symbols from /usr/lib/libexpat.so.0...done.
Loaded symbols for /usr/lib/libexpat.so.0
Reading symbols from /opt/vw/apache/2.1.9/lib/libapr-1.so.0...done.
Loaded symbols for /opt/vw/apache/2.1.9/lib/libapr-1.so.0
Reading symbols from /lib/libuuid.so.1...done.
Loaded symbols for /lib/libuuid.so.1
Reading symbols from /lib/tls/librt.so.1...done.
Loaded symbols for /lib/tls/librt.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /opt/vw/apache/2.1.9/modules/mod_authz_host.so...done.
Loaded symbols for /opt/vw/apache/2.1.9/modules/mod_authz_host.so
Reading symbols from /opt/vw/apache/2.1.9/modules/mod_proxy.so...done.
Loaded symbols for /opt/vw/apache/2.1.9/modules/mod_proxy.so
Reading symbols from
/opt/vw/apache/2.1.9/modules/mod_proxy_balancer.so...done.
Loaded symbols for /opt/vw/apache/2.1.9/modules/mod_proxy_balancer.so
Reading symbols from /opt/vw/apache/2.1.9/modules/mod_proxy_http.so...done.
Loaded symbols for /opt/vw/apache/2.1.9/modules/mod_proxy_http.so
Reading symbols from /opt/vw/apache/2.1.9/modules/mod_ssl.so...done.
Loaded symbols for /opt/vw/apache/2.1.9/modules/mod_ssl.so
Reading symbols from /lib/libssl.so.4...done.
Loaded symbols for /lib/libssl.so.4
Reading symbols from /lib/libcrypto.so.4...done.
Loaded symbols for /lib/libcrypto.so.4
Reading symbols from /usr/kerberos/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/kerberos/lib/libgssapi_krb5.so.2
Reading symbols from /usr/kerberos/lib/libkrb5.so.3...done.
Loaded symbols for /usr/kerberos/lib/libkrb5.so.3
Reading symbols f