|
Home > Archive > Apache Server configuration support > January 2004 > Listen on single interface
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Listen on single interface
|
|
| Brian Andrus 2004-01-19, 7:12 am |
| Ok, I can't seem to get the Listen directive to work as I think it
should.
I have:
eth0: 10.1.1.1
eth1: 192.168.1.1
eth2: 1.2.3.4
in apache.conf:
Listen 192.168.1.1:80
Now when I am on a system at 1.2.3.5 I can telnet in to 1.2.3.4 port
80 and connect. When I type "GET /" it returns the default homepage.
I have mod_rewrite redirect things to the default homepage, but I
haven't seen anything say that it overrides the Listen directive.
any ideas here?
Brian Andrus
batman(at)thundermail(dot)com
| |
| Davide Bianchi 2004-01-19, 7:12 am |
| Brian Andrus <batman@thundermail.com> wrote:quote:
> in apache.conf:
> Listen 192.168.1.1:80
> Now when I am on a system at 1.2.3.5 I can telnet in to 1.2.3.4 port
> 80 and connect. When I type "GET /" it returns the default homepage.
> any ideas here?
I just tryed the same on my system and it works as supposed, so I can
only think about some kind of foulup with the routing table of your
system that make the packet appear as coming out from 192.16.1.1.
Check your routing table and eventually do some network debugging.
Since your machine has 3 NIC, it looks to me that it could be a
gateway/firewall. In this case check if there is some kind of NAT
enabled.
Davide
|
|
|
|
|