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 2006/08/07 12:38:33 UTC

DO NOT REPLY [Bug 40200] New: - name-based vhosts broken in certain cases, apache2 -t -D DUMP_VHOSTS shows garbage

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


DO NOT REPLY [Bug 40200] - name-based vhosts broken in certain cases, apache2 -t -D DUMP_VHOSTS shows garbage

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


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From jorton@redhat.com  2007-01-30 06:42 -------
Can you supply a complete sample configuration which demonstrates the error?

-- 
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 40200] - name-based vhosts broken in certain cases, apache2 -t -D DUMP_VHOSTS shows garbage

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


chrivers@iversen-net.dk changed:

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




------- Additional Comments From chrivers@iversen-net.dk  2007-08-08 05:51 -------
I have not been able to track down the invalid httpd.conf file which gave this 
error, but I was able to conclude that it had a logical error. (Something 
about giving the wrong address in NameVirtualHost I think).

I'm closing this report since it's not a real bug, only a confusing failure 
mode in case of an invalid config file.

If I find a way to reproduce this, I will contact you again.

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