httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Finch <...@dotat.at>
Subject Re: Teched / maybe some interesting information
Date Thu, 08 Jul 1999 23:49:47 GMT
Ask Bjoern Hansen <ask@valueclick.com> wrote:
>On Thu, 8 Jul 1999, Matthew Reimer wrote:
>>
>>     ipfw add 2000 fwd localhost tcp from any to 1.2.3/24 80 in
>>
>> Then just route 1.2.3/24 to the machine (necessary since arp won't
>> work this way).
>
>But you sorta loose the idea behind having a seperate address per
>vhost if Apache don't know about it.

When a connection is accepted the local address and port are copied
from the incoming packet to the protocol control block where
getsockname() gets its information from, so Apache will do the right
thing.

Tony.
--
f.a.n.finch   dot@dotat.at   fanf@demon.net
Winner, International Obfuscated C Code Competition 1998

Mime
View raw message