From: Cliff Woolley
If you want Apache to handle IPv4 and IPv6 connections with a
- minimum of sockets, which requires using IPv4-mapped IPv6 addresses,
- specify the --enable-v4-mapped
configure option and use
- generic Listen directives like the following:
- Listen 80
-
With --enable-v4-mapped
, the Listen directives in the
- default configuration file created by Apache will use this form.
- --enable-v4-mapped
is the default on all platforms but
+
On the other hand, on some platforms such as Linux and Tru64 the
+ only way to handle both IPv6 and IPv4 is to use
+ mapped addresses. If you want Apache to handle IPv4 and IPv6 connections
+ with a minimum of sockets, which requires using IPv4-mapped IPv6
+ addresses, specify the --enable-v4-mapped
configure
+ option.
--enable-v4-mapped
is the default on all platforms but
FreeBSD, NetBSD, and OpenBSD, so this is probably how your Apache was
built.
If you want Apache to handle IPv4 and IPv6 connections on separate
- sockets (i.e., to disable IPv4-mapped addresses), specify the
- --disable-v4-mapped
configure option and use specific Listen
- directives like the following:
- Listen [::]:80
- Listen 0.0.0.0:80
-
With --disable-v4-mapped
, the Listen directives in the
- default configuration file created by Apache will use this form.
- --disable-v4-mapped
is the default on FreeBSD, NetBSD, and
- OpenBSD.
If your platform supports it and you want Apache to handle IPv4 and
+ IPv6 connections on separate sockets (i.e., to disable IPv4-mapped
+ addresses), specify the --disable-v4-mapped
configure
+ option. --disable-v4-mapped
is the default on FreeBSD,
+ NetBSD, and OpenBSD.
If you want Apache to handle IPv4 and IPv6 connections with a
- minimum of sockets, which requires using IPv4-mapped IPv6 addresses,
- specify the --enable-v4-mapped
configure option and use
- generic Listen directives like the following:
With --enable-v4-mapped
, the Listen directives in the
- default configuration file created by Apache will use this form.
- --enable-v4-mapped
is the default on all platforms but
+
On the other hand, on some platforms such as Linux and Tru64 the
+ only way to handle both IPv6 and IPv4 is to use
+ mapped addresses. If you want Apache to handle IPv4 and IPv6 connections
+ with a minimum of sockets, which requires using IPv4-mapped IPv6
+ addresses, specify the --enable-v4-mapped
configure
+ option.
--enable-v4-mapped
is the default on all platforms but
FreeBSD, NetBSD, and OpenBSD, so this is probably how your Apache was
built.
If you want Apache to handle IPv4 and IPv6 connections on separate
- sockets (i.e., to disable IPv4-mapped addresses), specify the
- --disable-v4-mapped
configure option and use specific Listen
- directives like the following:
With --disable-v4-mapped
, the Listen directives in the
- default configuration file created by Apache will use this form.
- --disable-v4-mapped
is the default on FreeBSD, NetBSD, and
- OpenBSD.
If your platform supports it and you want Apache to handle IPv4 and
+ IPv6 connections on separate sockets (i.e., to disable IPv4-mapped
+ addresses), specify the --disable-v4-mapped
configure
+ option. --disable-v4-mapped
is the default on FreeBSD,
+ NetBSD, and OpenBSD.