Can you give some more information regarding the configuration and versions of your webserver and PHP? Check the variables_order PHP setting please: http://www.php.net/manual/en/ini.core.php#ini.variab-order. Make sure it's EGPCS. If the S is not in there, then the PHP $_SERVER variable won't be populated. Good luck!