Re: Apache IPv6 & Virtual Host
On Mon, 30 Jul 2001, Peter Bieringer wrote:
> > Can i use like in IPv4 virtual host with the IPv6 Apache ?
> > A IP IPv6 = many sites.
>
> Why? You got about 2^46 (minus some reserved) IPv6 addresses per
> link, sure you can configure as much as you needed on one physical
> interface to prevent IPv6-less virtual hosting.
>
> MHO: It's better to forget IPv6-less virtual hosting...it was on IPv4
> only established because of there are too few IPv4 addresses for all
> needed webservers.
But if you want to, you can:
NameVirtualHost 3ffe:803c:0080:0200:0a00:20ff:feb5:ef1e 80
# www.domain1.com
<VirtualHost [3ffe:803c:0080:0200:0a00:20ff:feb5:ef1e]:80>
....
ServerName www.domain1.com
....
</VirtualHost>
# www.domain2.com
<VirtualHost [3ffe:803c:0080:0200:0a00:20ff:feb5:ef1e]:80>
....
ServerName www.domain2.com
....
</VirtualHost>
works on Apache 1.x
Problem of course is you're embedding IPs...
tim
Reply to: