IPv4 NameVirtualHost, IPv6 VirtualHost
Posted
by
MadHatter
on Server Fault
See other posts from Server Fault
or by MadHatter
Published on 2012-11-07T22:33:28Z
Indexed on
2012/11/07
23:02 UTC
Read the original article
Hit count: 233
Like many of us, I have an apache server (2.2.15, plus patches) with a lot of virtual hosts on it. More than I have IPv4 addresses, to be sure, which is why I use NameVirtualHost to run lots of them on the same IPv4 address.
I'm busily trying to get everything I do IPv6-enabled. This server now has a routed /64, which gives me an awful lot of v6 addresses to throw around. What I'm trying to find is a simple way to tell each v4-NameVirtualHost that it should also function as a VirtualHost on a unique ipv6 address. I really, really don't want to have to define each virtual host twice.
Does anyone know of an elegant way to do this? Or to do something comparable, in case I've embedded any dangerously-ignorant assumptions in my question?
© Server Fault or respective owner