From: Cliff Woolley Date: Sun, 28 Sep 2003 16:23:47 +0000 (+0000) Subject: There is no longer any need for different Listen directives to X-Git-Tag: pre_ajp_proxy~1138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0654956be075d65de26a0967dbd31222ab9a2ee;p=apache There is no longer any need for different Listen directives to use mapped/non-mapped addresses. Also cleared up that not all platforms support v6-only sockets. Submitted by: Colm MacCarthaigh git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101336 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/bind.html.en b/docs/manual/bind.html.en index 6fa040244a..f5452df361 100644 --- a/docs/manual/bind.html.en +++ b/docs/manual/bind.html.en @@ -98,18 +98,14 @@ platforms. But even on systems where it is disallowed by default, a special configure parameter can change this behavior for Apache.

-

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.

@@ -122,21 +118,11 @@ Listen 192.170.2.1:80

-

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.

top

How This Works With Virtual Hosts

diff --git a/docs/manual/bind.xml b/docs/manual/bind.xml index efd9dedf09..020ae696e8 100644 --- a/docs/manual/bind.xml +++ b/docs/manual/bind.xml @@ -89,18 +89,14 @@ platforms. But even on systems where it is disallowed by default, a special configure parameter can change this behavior for Apache.

-

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.

@@ -113,21 +109,11 @@ Listen 192.170.2.1:80 -

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.