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 2014/04/01 12:02:22 UTC

[Bug 52178] IPv6 IPs as ServerName not allowed

https://issues.apache.org/bugzilla/show_bug.cgi?id=52178

--- Comment #5 from Rainer Canavan <ra...@7val.com> ---
I'm not sure if it is a realistic use case, since DNS entries are quick and
easy to make, and IPv6 addresses are cumbersome in URLs, but my assumption was
that NameVirtualHost should work for IPv6 as it does for IPv4. That is, one can
run multiple VirtualHosts via NamevirtualHost on the same address:port, where
one is identified by the address instead of a name. Since ServerName permits
IPv4 addresses, it should also allow IPv6 addresses, or at least produce a
clear error message and possibly also forbid IPv4 addresses. 

While the syntax in the documentation does specify
[scheme://]fully-qualified-domain-name[:port], it is somewhat surprising to see
something so "url-like" that only permits names, but not IP addresses for no
obvious technical reason. 

I've only stumbled upon this issue while checking all aspects of IPv6 readiness
of our product that I could come up with, by systematically trying everything
with IPv6 that works with IPv4.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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