You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by dg...@hyperreal.com on 1997/04/23 21:48:14 UTC

Changed information for PR mod_cgi/459

Synopsis: SERVER_PORT = 80 with Listen directive

State-Changed-From-To: open-closed
State-Changed-By: dgaudet
State-Changed-When: Wed Apr 23 12:48:13 PDT 1997
State-Changed-Why:
This is the expected behaviour actually.  Each server has
exactly one ServerName and one Port.  The Listen directive
tells apache which sockets to listen on, but doesn't tell
it what the main server's (or any other server's) Port setting
is.  Consider the case of multiple Listens, each intended
for a different virtual host.

You'll have to set Port in the main server config.  If you
have a need to serve the same config on multiple ports and
have SERVER_PORT set for each port
you will have to use multiple VirtualHosts.

Thanks for using Apache.
Dean