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 2005/04/02 20:41:45 UTC

DO NOT REPLY [Bug 34274] New: - equal if domainname.com=0.0.0.0

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=34274>.
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=34274

           Summary: <VirtualHost domainname.com> equal <VirtualHost 0.0.0.0>
                    if domainname.com=0.0.0.0
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: PC
               URL: http://treasureislandhotel.com
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: billowgao@yahoo.com


Hi there,

I just found that in httpd.conf
If you have a line like:
<VirtualHost domainname.com>
and the domainname.com resolved to the IP: 0.0.0.0

Apache will think that it is:
<VirtualHost 0.0.0.0>
and as a result, the virtualhost will become the default website.

The example domain is: 
treasureislandhotel.com

=============================================
C:\>nslookup treasureislandhotel.com NS3.HOSTSVR.COM
(root) nameserver = A.ROOT-SERVERS.NET
(root) nameserver = B.ROOT-SERVERS.NET
(root) nameserver = C.ROOT-SERVERS.NET
......................
Server: UnKnown
Address: 66.180.175.156

Name: treasureislandhotel.com
Address: 0.0.0.0
=============================================

Thanks

Billow

-- 
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