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 2007/06/28 16:23:00 UTC

DO NOT REPLY [Bug 42767] New: - SERVER_NAME behavior changed since apache 1.3

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: bugs@httpd.apache.org
        ReportedBy: bate@php.net


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42767] - SERVER_NAME behavior changed since apache 1.3

Posted by bu...@apache.org.
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


sander@temme.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From sander@temme.net  2007-06-28 10:09 -------
This is not a bug, and Bugzilla is not a support forum. Eric already pointed out the relevant bit in the 
documentation, and indeed the default value of UseCanonicalName has changed since 1.3.  If you have 
any more questions, refer to users@httpd.apache.org. Thanks!

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42767] - SERVER_NAME behavior changed since apache 1.3

Posted by bu...@apache.org.
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





------- Additional Comments From covener@gmail.com  2007-06-28 08:41 -------
http://httpd.apache.org/docs/2.2/mod/core.html#usecanonicalname

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org