-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Maarten Elsen said the following on 15/10/12 22:10: > Try something like this: > > NameVirtualHost *:80 > > <VirtualHost *:80> DocumentRoot /web/content/ipall.domain.com/html > <Directory "/web/content/ipall.domain.com/html/"> </Directory> > </VirtualHost> > > <VirtualHost [2a00:1450:4013:c00::65]:80> DocumentRoot > /web/content/ipv6.domain.com/html <Directory > "/web/content/ipv6.domain.com/html/"> </Directory> </VirtualHost> It does not work that way because for mixed mode you cannot use '*' in NameVirtualHost directive I found the solution on http://httpd.apache.org/docs/2.2/vhosts/examples.html#mixed You should do this: Listen 80 NameVirtualHost 1.2.3.4 Then every name-based virtual host should be declared like this: <VirtualHost 1.2.3.4:80> And every IPv6 IP-based virtual host should be declared like this: <VirtualHost [2001:db8::beef]:80> This solution is working 'live' right now on a CentOS 6 server. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Mollari... understand... that I can never forgive your people for what they did to my world. My people can never forgive your people. But I... can forgive... you. --G'Kar, "The fall of Centauri Prime" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB9BEUACgkQ3kWu7Tfl6ZSVkgCdGV/MTO71W90RDr/mClnslqxl Zo4AoKW58BwrMQIy66zlex2qkUq/f49i =SUE5 -----END PGP SIGNATURE----- _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos