summaryrefslogtreecommitdiff
path: root/docs/manual/mod/core.html
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-02-19 14:29:51 +0000
committerJeff Trawick <trawick@apache.org>2002-02-19 14:29:51 +0000
commitc701e5e5e8b7ce1b8a0ab0ad3d9116184245462a (patch)
tree1e07f3d92742287cec1af7a46295122fe66e8937 /docs/manual/mod/core.html
parent6700fa91fbdee79d035de8a1ebfb108e7e800637 (diff)
downloadhttpd-c701e5e5e8b7ce1b8a0ab0ad3d9116184245462a.tar.gz
Describe IPv6 syntax for Listen, Allow from, and <VirtualHost >.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93491 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/core.html')
-rw-r--r--docs/manual/mod/core.html19
1 files changed, 17 insertions, 2 deletions
diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html
index cb6e672f46..215e30b11f 100644
--- a/docs/manual/mod/core.html
+++ b/docs/manual/mod/core.html
@@ -2874,14 +2874,29 @@
TransferLog logs/host.foo.com-access_log<br />
&lt;/VirtualHost&gt;</code>
</blockquote>
- Each VirtualHost must correspond to a different IP address,
+
+ <p>IPv6 addresses must be specified in square brackets because
+ the optional port number could not be determined otherwise. An
+ IPv6 example is shown below:</p>
+
+ <blockquote>
+ <code>&lt;VirtualHost [fe80::a00:20ff:fea7:ccea]&gt;<br />
+ ServerAdmin webmaster@host.foo.com<br />
+ DocumentRoot /www/docs/host.foo.com<br />
+ ServerName host.foo.com<br />
+ ErrorLog logs/host.foo.com-error_log<br />
+ TransferLog logs/host.foo.com-access_log<br />
+ &lt;/VirtualHost&gt;</code>
+ </blockquote>
+
+ <p>Each VirtualHost must correspond to a different IP address,
different port number or a different host name for the server,
in the former case the server machine must be configured to
accept IP packets for multiple addresses. (If the machine does
not have multiple network interfaces, then this can be
accomplished with the <code>ifconfig alias</code> command (if
your OS supports it), or with kernel patches like <a
- href="../misc/vif-info.html">VIF</a> (for SunOS(TM) 4.1.x)).
+ href="../misc/vif-info.html">VIF</a> (for SunOS(TM) 4.1.x)).</p>
<p>The special name <code>_default_</code> can be specified in
which case this virtual host will match any IP address that is