You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jw...@apache.org on 2003/09/28 18:23:47 UTC
cvs commit: httpd-2.0/docs/manual bind.html.en bind.xml
jwoolley 2003/09/28 09:23:47
Modified: docs/manual bind.html.en bind.xml
Log:
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 <co...@stdlib.net>
Revision Changes Path
1.37 +12 -26 httpd-2.0/docs/manual/bind.html.en
Index: bind.html.en
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/bind.html.en,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -u -r1.36 -r1.37
--- bind.html.en 30 Jun 2003 01:16:29 -0000 1.36
+++ bind.html.en 28 Sep 2003 16:23:47 -0000 1.37
@@ -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>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>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><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>
1.9 +12 -26 httpd-2.0/docs/manual/bind.xml
Index: bind.xml
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/bind.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -u -r1.8 -r1.9
--- bind.xml 22 Jun 2003 15:31:23 -0000 1.8
+++ bind.xml 28 Sep 2003 16:23:47 -0000 1.9
@@ -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>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>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><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">