www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.com
Subject Changed information for PR mod_cgi/485
Date Fri, 25 Apr 1997 20:20:16 GMT
Synopsis: Wrong SERVER_PORT reported to CGI scripts when server listens to multiple ports

State-Changed-From-To: open-closed
State-Changed-By: dgaudet
State-Changed-When: Fri Apr 25 13:20:15 PDT 1997
This is covered by PR#459.  To which I responded:

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.

View raw message