]> granicus.if.org Git - apache/commitdiff
Added example of Using * as argument to NameVirtualHost. Added note that
authorRichard Bowen <rbowen@apache.org>
Thu, 13 Jun 2002 01:07:09 +0000 (01:07 +0000)
committerRichard Bowen <rbowen@apache.org>
Thu, 13 Jun 2002 01:07:09 +0000 (01:07 +0000)
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

docs/manual/mod/core.html.en
docs/manual/mod/core.xml

index f76cfdd7163abafac0da1118782f088f0586c3cd..badf52c779810b7472a65ac8fd1c266c6f5255d4 100644 (file)
@@ -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 &lt;VirtualHost&gt; directive</strong></p>
+<p>Note that the argument to the &lt;VirtualHost&gt; 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>
+&lt;VirtualHost 1.2.3.4&gt;<br>
+...<br>
+&lt;/VirtualHost&gt;<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
index 2074e16f690dd28b54648ec4bec3678d2e363d2d..c61d822772241df9502778794a979a678a118f09 100644 (file)
@@ -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 &lt;VirtualHost&gt; directive</title>
+<p>Note that the argument to the &lt;VirtualHost&gt; directive must exactly
+match the argument to the <directive>NameVirtualHost</directive>
+directive.</p>
+<example>
+NameVirtualHost 1.2.3.4<br />
+&lt;VirtualHost 1.2.3.4&gt;<br />
+...<br />
+&lt;/VirtualHost&gt;<br />
+</example>
+</note>
+
 </usage>
 
 <seealso>See also: <a href="../vhosts/">Virtual Hosts