Re: Incorrect $_SERVER['SERVER_PORT'] Returned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 16, 2009 at 1:05 PM, Bob Schell <schellb12@xxxxxxxxx> 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?

http://marc.info/?l=apache-httpd-users&m=125569605710861&w=2

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux