P.S. I have updated the Port documentation to hopefully make this more
clearn.  It will appear in the next release, and on the web site soon.

On Fri, 25 Apr 1997 [EMAIL PROTECTED] wrote:

> 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
> State-Changed-Why:
> 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.
> Dean
> 
> 

Reply via email to