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

http://issues.apache.org/bugzilla/show_bug.cgi?id=42767

           Summary: SERVER_NAME behavior changed since apache 1.3
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I have a VHOST Configuration like:

<VirtualHost ...>
  ServerName MyServer.com
  ServerAlias test.MyServer.com debug.MyServer.com
</VirtualHost>

Under Apache 1.3 i get in the env. the host information and SERVER_NAME
and its in every case the ServerName value (MyServer.com)
This is also the ServerName where one of the ServerAlias matches
(debug.MyServer.com)

URI: http://www.MyServer.com
SERVER_NAME = MyServer.com

URI: http://debug.MyServer.com
SERVER_NAME = MyServer.com

URI: http://test.MyServer.com
SERVER_NAME = MyServer.com


Under Apache 2.2.x its complete different.
URI: http://www.MyServer.com
SERVER_NAME = www.MyServer.com

URI: http://debug.MyServer.com
SERVER_NAME = debug.MyServer.com

URI: http://test.MyServer.com
SERVER_NAME = test.MyServer.com

This breaks most SERVER_NAME based configurations. My Question is (if this isnt
a bug) how can i resolve the real ServerName for the VHOST.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to