Specifying IPv6 addresses in the Listen directive and the VirtualHost directive allows connections via IPv6, and the specification of virtual hosts supporting IPv6 addresses.
The following directives support IPv6:
<VirtualHost>, AddIcon, AddIconByEncoding, AddIconByType, Allow from, CustomLog, DefaultIcon, Deny from, ErrorDocument, ExtendedStatus, HostnameLookups, HWSErrorLogClientAddr X-Forwarded-For, HWSSetEnvIfIPv6, ImapBase, ImapDefault, Listen, LogFormat, NameVirtualHost, ProxyPass, ProxyPassReverse, QOSCookieDomain, QOSRedirect, Redirect, RedirectMatch, ServerAlias, ServerName, ServerSignature, SetEnvIf, SetEnvIfNoCase, TransferLog, UseCanonicalName
When an IPv6 address is specified in a directive, enclose the IPv6 address in square brackets ([]), as in the case of [IPv6-address]. When an IPv6 address and a port number are specified in a directive, enclose the IPv6 address in square brackets ([]) and specify the port number after a colon (:), as in the case of [IPv6-address]:port-number.
However, do not enclose the IPv6 address in square brackets ([]) when IPv6 addresses are specified in the following directives:
Specify a global unicast address when using an IPv6 address.
The following functions do not support IPv6: