[6bone] IPv6 only Website.

Andree Toonk andree@bos.nl
Wed, 14 May 2003 18:20:05 +0200


On Wed, May 14, 2003 at 08:58:09PM +0800, Gav wrote:
> Hi All, 
> 
> Does anyone here run IPv6 only websites hosted on Apache2 ?
> 
> I am trying to create a website accessible by v6 only addresses and 
> the documentation from Apache regarding v6 addressing is about nil.
> 
> Any pointers appreciated.

Yes I do and it works fine. (I also use PHP on it).

syntax is like this:
Listen [2001:your:ipv6:address]:80
Listen [3FFE:your:ipv6:address]:80
NameVirtualHost [2001:your:ipv6:address]
NameVirtualHost [3FFE:your:ipv6:address]

<VirtualHost [2001:your:ipv6:address] [3FFE:your:ipv6:address]>
    ServerName          www.ams-ix.net
	and a lot more, equal to the ipv4 config
</VirtualHost>

If you use a Linux server, you may have to use the "EnableSendfile Off" option, 
see http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile.
There seems to be a bug in the sendfile call in (some)linux kernels (search for more info on google.com).

Goodluck.
Andree