Currently I have the "ports.conf" with the following content:
NameVirtualHost *:80
Listen 80
<IfModule mod_ssl.c>
Listen 443
NameVirtualHost *:443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
So to add IPv6 I have to change it to:
NameVirtualHost 91.64.99.215:80
Listen 91.64.99.215:80
NameVirtualHost [2a01:4f8:140:54e4::3]:80
Listen [2a01:4f8:140:54e4::3]:80
<IfModule mod_ssl.c>
Listen 443
NameVirtualHost 91.64.99.215:443
NameVirtualHost [2a01:4f8:140:54e4::3]:443
</IfModule>
<IfModule mod_gnutls.c>
Listen 91.64.99.215:443
Listen [2a01:4f8:140:54e4::3]:443
</IfModule>
Is this correct?
My fear is that if I do this all vhosts set up like
<VirtualHost *:80>
ServerName www.domain.tld
ServerAlias domain.tld
DocumentRoot /www/domain
</VirtualHost>
will go berserk. If this is not the case, doing
<VirtualHost *:80 [*]:80>
ServerName www.domain.tld
ServerAlias domain.tld
DocumentRoot /www/domain
</VirtualHost>
should also make the domain available via IPv6?
I am a bit confused here and cannot make much out of the existing "examples" Any help will be appreciated.
text <VirtualHost *:80> ServerName www.domain.tld ServerAlias domain.tld DocumentRoot /www/domain </VirtualHost>
will still work like nothing was change at "ports.conf".[warn] _default_ VirtualHost overlap on port 443, the first has precedence
[warn] NameVirtualHost 91.212.95.130:80 has no VirtualHosts
I believe that as soon as I activate this everything goes down the sink. Obviously it has not VirtualHosts because they are all set up like<VirtualHost *:80>