Commit dcf09135 authored by Richard Bowen's avatar Richard Bowen
Browse files

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
parent a3edf373
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -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
+17 −0
Original line number Diff line number Diff line
@@ -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