httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: [users@httpd] Incorrect $_SERVER['SERVER_PORT'] Returned
Date Fri, 16 Oct 2009 17:12:53 GMT
On Fri, Oct 16, 2009 at 1:05 PM, Bob Schell <> wrote:
> The problem I am having is my PHP code is pulling the
> $_SERVER['SERVER_PORT'] variable and this is coming back as 80 rather than
> 443.  To narrow this problem down, I've closed port 80 by commenting out
> 'LISTEN 80' so my server is ONLY listening on port 443.  I've verified this
> via a port scan of my server ... 443 is open, 80 is not.

There was a thread about this today on this very list, have you tried
the solution there?

Eric Covener

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message