summaryrefslogtreecommitdiff
path: root/docs/manual/bind.html.en
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.html.en
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.html.en')
-rw-r--r--docs/manual/bind.html.en40
1 files changed, 13 insertions, 27 deletions
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.</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>
-
- <div class="example"><p><code>
- Listen 80
- </code></p></div>
-
- <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>
@@ -122,21 +118,11 @@
Listen 192.170.2.1:80
</code></p></div>
- <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>
-
- <div class="example"><p><code>
- Listen [::]:80<br />
- Listen 0.0.0.0:80
- </code></p></div>
-
- <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>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="virtualhost" id="virtualhost">How This Works With Virtual Hosts</a></h2>