diff options
author | Rich Bowen <rbowen@apache.org> | 2002-06-13 01:07:09 +0000 |
---|---|---|
committer | Rich Bowen <rbowen@apache.org> | 2002-06-13 01:07:09 +0000 |
commit | 7509fbad7ab4cffd1697e113d445d005e7b87751 (patch) | |
tree | 8dc1083c7df389120b0a595787225dc91a4e83e7 | |
parent | c8a19fbf35ee38e0e2d3593da52d53fdd4d8775d (diff) | |
download | httpd-7509fbad7ab4cffd1697e113d445d005e7b87751.tar.gz |
Added example of Using * as argument to NameVirtualHost. Added note that
arg to NameVirtualHost is supposed to match the arg to VirtualHost, as
this seems to come up several times a week on #apache
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95626 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | docs/manual/mod/core.html.en | 17 | ||||
-rw-r--r-- | docs/manual/mod/core.xml | 17 |
2 files changed, 34 insertions, 0 deletions
diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index f76cfdd716..badf52c779 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -1198,6 +1198,23 @@ hosting</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" cl <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>NameVirtualHost [fe80::a00:20ff:fea7:ccea]:8080</code></td></tr></table></blockquote> + <p>To receive requests on all interfaces, you can use an argument of + *</p> + +<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>NameVirtualHost *</code></td></tr></table></blockquote> + +<blockquote><table><tr><td bgcolor="#e0e5f5"><p align="center"><strong>Argument to <VirtualHost> directive</strong></p> +<p>Note that the argument to the <VirtualHost> directive must exactly +match the argument to the <code class="directive">NameVirtualHost</code> +directive.</p> +<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code> +NameVirtualHost 1.2.3.4<br> +<VirtualHost 1.2.3.4><br> +...<br> +</VirtualHost><br> +</code></td></tr></table></blockquote> +</td></tr></table></blockquote> + <p><strong>See also </strong></p><ul><li>See also: <a href="../vhosts/">Virtual Hosts documentation</a></li></ul><hr/><h2><a name="Options">Options</a> <a name="options">Directive</a></h2><table cellpadding="1" cellspacing="0" border="0" bgcolor="#cccccc"><tr><td><table bgcolor="#ffffff"><tr><td nowrap="nowrap"><strong>Description: </strong></td><td>Configures what features are available in a particular directory</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" class="help">Syntax:</a></td><td>Options diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 2074e16f69..c61d822772 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -1704,6 +1704,23 @@ hosting</description> <example>NameVirtualHost [fe80::a00:20ff:fea7:ccea]:8080</example> + <p>To receive requests on all interfaces, you can use an argument of + *</p> + +<example>NameVirtualHost *</example> + +<note><title>Argument to <VirtualHost> directive</title> +<p>Note that the argument to the <VirtualHost> directive must exactly +match the argument to the <directive>NameVirtualHost</directive> +directive.</p> +<example> +NameVirtualHost 1.2.3.4<br /> +<VirtualHost 1.2.3.4><br /> +...<br /> +</VirtualHost><br /> +</example> +</note> + </usage> <seealso>See also: <a href="../vhosts/">Virtual Hosts |