httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40200] New: - name-based vhosts broken in certain cases, apache2 -t -D DUMP_VHOSTS shows garbage
Date Mon, 07 Aug 2006 10:38:33 GMT
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=40200>.
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=40200

           Summary: name-based vhosts broken in certain cases, apache2 -t -D
                    DUMP_VHOSTS shows garbage
           Product: Apache httpd-2
           Version: 2.0.54
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: chrivers@iversen-net.dk


Under certain circumstances, the syntax check done with "apache2 -t -D 
DUMP_VHOSTS" show garbage. 

I figured out this happens when using a valid, but not NameVirtualHost-blessed 
IP-address in the config file. 
Suddenly, foreign domain names pop up in the debug output:

[...]
82.103.132.72:80       ns5.miolini.com 
(/etc/apache2/sites-enabled/xxxx.conf:2433)
82.103.128.72:80       is a NameVirtualHost
[...]

(the error here was that .132. != .128.)

Not only does this not generate a warning, it gives "Syntax OK", AND it uses a 
random domain name (it seems).

Running the same command again often results in another name, which suggests 
apache uses an uninitialized value to 
lookup some configuration data.

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


Mime
View raw message