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 7415] New: - VHOST parsing broken for IPv6
Date Sun, 24 Mar 2002 18:12:30 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7415>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7415

VHOST parsing broken for IPv6

           Summary: VHOST parsing broken for IPv6
           Product: Apache httpd-2.0
           Version: 2.0.32
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ncbp@wheel.dk
                CC: ncbp@wheel.dk


After upgrading from 2.0.28 to 2.0.32 parsing of VHOST configuration for IPv6
(and subsequently the servers handling of those VHOSTS) appears to be broken.
The following VHOST config should work:

---snip---

NameVirtualHost 192.168.75.7:80
NameVirtualHost [2001:6c8:f::7]:80

<VirtualHost 192.168.75.7:80 [2001:6c8:f::7]:80>

DocumentRoot /usr/local/www/data
ServerName www.thisdomain.dk
ServerAlias www

Alias /manual "/usr/local/share/doc/apache"

<Directory "/usr/local/www/data">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

<Directory "/usr/local/share/doc/apache">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/"
ScriptAlias /cgi/ "/usr/local/www/cgi-bin/"

<Directory "/usr/local/www/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
</Directory>

</VirtualHost>

<VirtualHost 192.168.75.7:80 [2001:6c8:f::7]:80>

DocumentRoot /usr/local/www/www.xfree86.org/htdocs
Servername xfree86.thisdomain.dk
ServerAlias xfree86
TransferLog /var/log/apache/xfree86-httpd-access.log
ErrorLog /var/log/apache/xfree86-httpd-access.log

<Directory "/usr/local/www/www.xfree86.org">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /cgi-bin/ "/usr/local/www/www.xfree86.org/cgi-bin/"
ScriptAlias /cgi/ "/usr/local/www/www.xfree86.org/cgi-bin/"

<Directory "/usr/local/www/www.xfree86.org/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

</VirtualHost>

---snip---

 - but starting httpd (as well as testing with "-t -D DUMP_VHOST") emits the
following error:

monster# /usr/local/etc/rc.d/apache.sh start
[Sun Mar 24 19:05:14 2002] [warn] VirtualHost 2001:6c8:f::7:80 overlaps with
VirtualHost 2001:6c8:f::7:80, the first has precedence, perhaps you need a
NameVirtualHost directive
[Sun Mar 24 19:05:14 2002] [warn] NameVirtualHost 2001:6c8:f::7:80 has no
VirtualHosts

 - so the parsing of IPv6 addresses while assigning servernames to VHOST IP
addresses seems somehow broken.

Regards,
Niels Chr. Bank-Pedersen

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message