You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jari Korva <ja...@iki.fi> on 2002/03/08 15:26:36 UTC

general/10087: NameVirtualHost problem with IPv6 addresses

>Number:         10087
>Category:       general
>Synopsis:       NameVirtualHost problem with IPv6 addresses
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Mar 08 06:30:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     jari.korva@iki.fi
>Release:        2.0.32
>Organization:
apache
>Environment:
Linux xxxx 2.2.19 #5 SMP Thu Apr 19 15:21:24 EEST 2001 i686 unknown

gcc version 2.95.3 20010315 (release)

glibc 2.1.3-23
>Description:
httpd.conf:

NameVirtualHost 10.0.0.1:*
NameVirtualHost [fe80::1]:*

<VirtualHost [fe80::1]:* 10.0.0.1:*>
    DocumentRoot /home/httpd/html-ipv6
    ServerName www.ipv6.domain.tld
</VirtualHost>

<VirtualHost [fe80::1]:* 10.0.0.1:*>
    DocumentRoot /home/httpd/html
    ServerName www.domain.tld
</VirtualHost>

----

# /tmp/apache2/bin/apachectl configtest
[warn] VirtualHost fe80::1:0 overlaps with VirtualHost fe80::1:0, the first has precedence, perhaps you need a NameVirtualHost directive
[warn] NameVirtualHost fe80::1:0 has no VirtualHosts
Syntax OK

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]