Current time: 11-23-2024, 01:40 PM Hello There, Guest! (LoginRegister)


Post Reply 
_ENV["SERVER_PORT"] Returns wrong value
Author Message
danvanbass Offline
Newbie
*

Posts: 8
Joined: Apr 2008
Reputation: 0
Post: #1
Question _ENV["SERVER_PORT"] Returns wrong value
Hi Folks,

I have a problem with my php server values. I'm running a debian etch with ispcp rc4, fcgi and have ssl configured. Now following, I have a site on my Server that wants to access the _ENV["SERVER_PORT"] and _ENV["SERVER_PROTOCOLL] to check if someone is accessing the site with ssl or not. Now the issue is, that i always recieve Port 80 and protocoll http/1.1 as response to those variables (if i run phpinfo while connected per ssl i also recieve port 80 and http/1.1). what do i have to change in the config so that i recieve the correct information?

i guess it has to do with fcgi, but i don't quite get what i have to change..... i'm glad for any help....

cheers,

dan
08-22-2008 01:23 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
_ENV["SERVER_PORT"] Returns wrong value - danvanbass - 08-22-2008 01:23 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)