Re: how to bind mod_proxy to a specific ip address?

Eli Marmor <[email protected]> Tue, 11 Nov 2003 15:38:31 +0200
Newsgroups gmane.comp.apache.mod-proxy
Organization Netmask (El-Mar) Internet Technologies
Message-ID <[email protected]>
I wrote:

> ...
> And as the original sender hinted by the "Subject" header, it is easy
> to implement: just "bind()" the required IP into the socket before
> calling "apr_connect()" (it may require a minor fix in APR, I'm not
> sure).

After looking at srclib/apr/network_io/unix/sockets.c and
srclib/apr/network_io/win32/sockets.c, I believe that the feature
request is doable, and doesn't require any change in APR, but only in
files belong to modules/proxy.

-- 
Eli Marmor
[email protected]
CTO, Founder
Netmask (El-Mar) Internet Technologies Ltd.
__________________________________________________________
Tel.:   +972-9-766-1020          8 Yad-Harutzim St.
Fax.:   +972-9-766-1314          P.O.B. 7004
Mobile: +972-50-23-7338          Kfar-Saba 44641, Israel