Bug #16868 Updated: wrong $_SERVER['SERVER_NAME' contents
| From: | derick@php.net | Date: | Sat, 27 Apr 2002 10:05:19 +0000 |
| Subject: | Bug #16868 Updated: wrong $_SERVER['SERVER_NAME' contents | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6216@lists.php.net to get a copy of this message | ||
ID: 16868
Updated by: derick@php.net
Reported By: erik@slooff.net
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: SuSE 7.0
PHP Version: 4.2.0
New Comment:
Submitted twice > bogus
Previous Comments:
------------------------------------------------------------------------
[2002-04-27 04:17:46] erik@slooff.net
Hi,
It seems that the contents of the var $_SERVER['SERVER_NAME'] is not
set correct. I'm using apache 1.3.23 and PHP 4.2.0 with virtual hosts
with servernames and serveraliases. $_SERVER['SERVER_NAME'] apparantly
can also return the serveralias name instead of the servername, which
is not expected behaviour.
Please check the following urls to see what I mean:
http://broodjekaas.nl/test.php
And
http://www.broodjekaas.nl/test.php
Hope this helps,
Erik
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16868&edit=1