httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Schinkel" <>
Subject Bind mod_proxy to a specific ip address for outgoing requests
Date Fri, 25 Mar 2005 21:18:58 GMT

we are using apache httpd 2.0.52 and the mod_proxy module in a two-tier
environment to serve several web-pages. We use a libpcap-based
traffic-analyzer to  find out which amount of data was transferred from
the mod_proxy webserver to the other servers (which run on the same host
on port 8001-8287).

The traffic analyzer showed us, that is used for the connection
to the backend webserver, which is a problem in this special case, because
we cannot differentiate between the connections safely .

google pinted me to the following solution, which unfortunately does not

We applied the patch (which was originally done for 2.0.48) and recompiled
all mod_proxy modules. After loading the new modules and doing a simple
request which worked with the old modules, the following output was in the
error_log (LogLevel debug):

[Fri Mar 25 23:27:23 2005] [debug] worker.c(1631): AcceptMutex: sysvsem
(default: sysvsem)
[Fri Mar 25 23:27:40 2005] [debug] proxy_http.c(66): proxy: HTTP:
canonicalising URL //
[Fri Mar 25 23:27:40 2005] [debug] mod_proxy.c(416): Trying to run
[Fri Mar 25 23:27:40 2005] [debug] proxy_http.c(1049): proxy: HTTP:
serving URL
[Fri Mar 25 23:27:40 2005] [debug] proxy_http.c(185): proxy: HTTP
connecting to
[Fri Mar 25 23:27:40 2005] [notice] child pid 26676 exit signal
Segmentation fault (11)

I searched the source code of 2.0.48 for any differences which could lead
to incompatibility of the patch with new (2.0.52) httpd version, but could
not find any.

Can anyone please give me a hint to what has to be changed for making this
patch working again?

Thanks in advance,

Marco Schinkel
Neuss, Germany

View raw message