Configure Apache to listen the IPv6 address:
Listen ipv6_address:port
NameVirtualHost ipv6_address:port
If the apache virtual host is configured with domain name , eg < VirtualHost arunns.com:80 >, just add AAAA record for arunns.com in dns and the website will work without any extra configurations other than the previous two lines.
Also we can specifically configure it :
< VirtualHost ipv4_address:80 ipv6_address:80 >It is possible to have different contents for ipv4 and ipv6 sites, just create two different virtual hosts with different document root one for IPv4 and other for IPv6.
< VirtualHost ipv4_address:80 >
DocumentRoot /home/123/
< /VirtualHost >
< VirtualHost ipv6_address:80 >
DocumentRoot /home/456/
< /VirtualHost >
./arun
No comments:
Post a Comment