httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] incoming IP connect
Date Tue, 08 Feb 2011 12:29:00 GMT
On Tue, Feb 8, 2011 at 12:21 PM, Mike Brown <brown@mrvideo.vidiot.com> wrote:
> On Tue, Feb 08, 2011 at 12:11:26PM +0000, Tom Evans wrote:
>> Apache doesn't control how packets get routed to your computer, it
>> only controls what it does when they arrive. If you listen on *:80 or
>> 192.168.1.2:80, then anything that can route packets to that
>> server/port will communicate with apache.
>
> IMHO, it is better to set the listen to the IP address of the server apache
> is running on, to keep it from trying to respond to requests to a different
> IP on the same subnet.
>
> If, for example, the Linux box was also running apache, as I understand it,
> if the listen was set for all IPs, then it would try and respond to requests
> meant for the Linux server.
>
> MB

Wow, no, you don't understand it.

*:80 means "listen on on all addresses on all interfaces THIS BOX
has", not "respond to every IP address in the world". Furthermore, how
would the 'request meant for the linux server' be routed to the
windows box?

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message