httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: Listen vs. Port
Date Wed, 15 Aug 2001 02:21:37 GMT

On Wed, 15 Aug 2001, Lars Eilebrecht wrote:

> According to Joshua Slive:
> >  But what most people want is "Listen to all IP addresses".
> >  This is the current default behaviour.  How do we express
> >  that?
> I see your point, but do we really want to express that?
> If one has two or more interfaces configured he's usually
> dealing with virtual hosting, so what's wrong with
> a <VirtualHost> directive _and_ a related Listen directive?
> I've seen more than on setup where Apache was listening on
> all interfaces, but that behaviour actually was not intended.
> E.g., what's the point in listening on

I think I disagree.  I believe that the naive user generally does want to
listen on all interfaces.  Listening on is often very valuable
for testing purposes.  I expect a great increase in "Apache won't respond
even though it is running" problem reports if we change this behaviour.

The most common problem I hear about is people behind port-forwarding (or
NAT) firewalls.  These people have a very hard time figuring out what to
put in NameVirtualHost and VirtualHost directives.  The new
"NameVirtualHost *" configuration, in conjunction with the default
behaviour of listening on all interfaces, is great for these people.
Sure, it is a crutch for people who don't understand what is going on, but
I don't see that it opens up any problems.


View raw message