[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

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





[Older Fedora Users Mail]     [Home]     [Fedora Legacy]     [Fedora Desktop]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Packaging]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Powered by Linux

Google
  Web www.spinics.net