httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: BindAddress
Date Mon, 11 Aug 1997 18:23:44 GMT
Guck.  So what you are saying is that to have a web server that listens on
two ports work properly you need to have a VirtualHost section for one
with a different Port statement?

Guck.  Is this a feature?

On Mon, 11 Aug 1997, Alexei Kosut wrote:

> 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