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

Reply via email to