[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Name based virtual host forwarding from Tux to Apache



On Mon, 4 Mar 2002, Mike Zimmerman wrote:

> A problem with Apache and Tux is that the information needed for
> Apache to properly determine which vhost to send things to is not
> there.
>
> Apache needs to use the IP of the incoming connection to determine
> which host to go to. Since the request is always on 127.0.0.1, no go.

hm, are you sure it's on 127.0.0.1? When TUX hands down a request to
Apache, then neither of the addresses should be touched.

Apache should listen on 127.0.0.1 to isolate it from the external world,
but TUX will hand external sockets to Apache nevertheless.

hm, perhaps the TCP/IP layer overrides the target IP address in accept().

	Ingo





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []