httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@organic.com>
Subject Re: BindAddress
Date Mon, 11 Aug 1997 18:05:01 GMT
On Mon, 11 Aug 1997, Paul Sutton wrote:

> Is there any reason why Port is needed if Listen is being used?

Yes. If there are Listen directives, Port is ignored in terms of actually
accepting the connection, but it is used to configure the server. In
other words, if I have the following:

Listen 5000
Port 6000

Apache will accept connections on port 5000 only, not 6000. However, if I
get a redirect, it will be to "http://servername:6000".

So replacing the Port in the configuration with a Listen would mean that
anyone who changed the "Listen 80" to any other port would still get
redirects to port 80, which isn't where their server is running anymore.

-- Alexei Kosut <akosut@organic.com>


Mime
View raw message