You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/10/26 09:29:17 UTC

DO NOT REPLY [Bug 24134] New: - wrong servername for virtual host is set

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24134>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24134

wrong servername for virtual host is set

           Summary: wrong servername for virtual host is set
           Product: Apache httpd-1.3
           Version: 1.3.28
          Platform: PC
               URL: http://storagemarket.ru/x.php
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: dmitry@rsl.ru


I've defined virtual host with 

ServerName storagemarket.ru
ServerAlias www.storagemarket.ru

and I expect that in my PHP scripts SERVER_NAME should be storagemarket.ru no 
matter of which host's address I use, i.e. if I type 
http://storagemarket.ru/x.php or http://www.storagemarket.ru/x.php in my 
browser I should see the same value in SERVER_NAME variable (equal to 
storagemarket.ru, just like defined in ServerName directive in virtual host 
configuration).

I think that this bug is related to FreeBSD, because there is no such problem 
on my Linux machine, you can check this at following addresses: 
http://www.afterparty.ru/x.php and http://afterparty.ru/x.php

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org