summaryrefslogtreecommitdiff
path: root/docs/manual/bind.xml
diff options
context:
space:
mode:
authorCliff Woolley <jwoolley@apache.org>2003-09-28 16:23:47 +0000
committerCliff Woolley <jwoolley@apache.org>2003-09-28 16:23:47 +0000
commite0654956be075d65de26a0967dbd31222ab9a2ee (patch)
tree4cdb439d85ea914848ec201d6e01dd99b9362f08 /docs/manual/bind.xml
parentc3a2f4494c35ee243fc3cc5dbc6b39556d7196d3 (diff)
downloadhttpd-e0654956be075d65de26a0967dbd31222ab9a2ee.tar.gz
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 <colm@stdlib.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101336 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/bind.xml')
-rw-r--r--docs/manual/bind.xml40
1 files changed, 13 insertions, 27 deletions
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.</p>
- <p>If you want Apache to handle IPv4 and IPv6 connections with a
- minimum of sockets, which requires using IPv4-mapped IPv6 addresses,
- specify the <code>--enable-v4-mapped</code> configure option and use
- generic Listen directives like the following:</p>
-
- <example>
- Listen 80
- </example>
-
- <p>With <code>--enable-v4-mapped</code>, the Listen directives in the
- default configuration file created by Apache will use this form.
- <code>--enable-v4-mapped</code> is the default on all platforms but
+ <p>On the other hand, on some platforms such as Linux and Tru64 the
+ <strong>only</strong> 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 <code>--enable-v4-mapped</code> configure
+ option.</p>
+
+ <p><code>--enable-v4-mapped</code> is the default on all platforms but
FreeBSD, NetBSD, and OpenBSD, so this is probably how your Apache was
built.</p>
@@ -113,21 +109,11 @@
Listen 192.170.2.1:80
</example>
- <p>If you want Apache to handle IPv4 and IPv6 connections on separate
- sockets (i.e., to disable IPv4-mapped addresses), specify the
- <code>--disable-v4-mapped</code> configure option and use specific Listen
- directives like the following:</p>
-
- <example>
- Listen [::]:80<br />
- Listen 0.0.0.0:80
- </example>
-
- <p>With <code>--disable-v4-mapped</code>, the Listen directives in the
- default configuration file created by Apache will use this form.
- <code>--disable-v4-mapped</code> is the default on FreeBSD, NetBSD, and
- OpenBSD.</p>
-
+ <p>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 <code>--disable-v4-mapped</code> configure
+ option. <code>--disable-v4-mapped</code> is the default on FreeBSD,
+ NetBSD, and OpenBSD.</p>
</section>
<section id="virtualhost">