]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Minor niggles that have been sitting around for a while
authorNoirin Plunkett <noirin@apache.org>
Thu, 9 Nov 2006 15:29:16 +0000 (15:29 +0000)
committerNoirin Plunkett <noirin@apache.org>
Thu, 9 Nov 2006 15:29:16 +0000 (15:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@472949 13f79535-47bb-0310-9956-ffa450edef68

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

index 6cf9ede0f40cc06bcc2f437e1027b83e2d455940..e1cb5023ad40e011721953ce00764078518244a5 100644 (file)
@@ -2547,7 +2547,8 @@ to name-virtual hosts</td></tr>
 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>core</td></tr>
 </table>
     <p>The <code class="directive">ServerAlias</code> directive sets the
-    alternate names for a host, for use with <a href="../vhosts/name-based.html">name-based virtual hosts</a>.</p>
+    alternate names for a host, for use with <a href="../vhosts/name-based.html">name-based virtual hosts</a>. The
+    <code class="directive">ServerAlias</code> may include wildcards, if appropriate.</p>
 
     <div class="example"><p><code>
       &lt;VirtualHost *&gt;<br />
index ae29802305671a8b7f58214bbb6d52948134f00b..3457a48817c120a7bf2767d0b1ead0f5d6e463a3 100644 (file)
@@ -2538,7 +2538,8 @@ to name-virtual hosts</description>
 <usage>
     <p>The <directive>ServerAlias</directive> directive sets the
     alternate names for a host, for use with <a
-    href="../vhosts/name-based.html">name-based virtual hosts</a>.</p>
+           href="../vhosts/name-based.html">name-based virtual hosts</a>. The
+    <directive>ServerAlias</directive> may include wildcards, if appropriate.</p>
 
     <example>
       &lt;VirtualHost *&gt;<br />
index 4f725d94b0c07451eef6519ceba85b2af36a2b6b..8521c99c2e12602e21902c60b2ea5d26d33b1749 100644 (file)
@@ -251,6 +251,17 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon<br />
 &lt;/VirtualHost&gt;
 </code></p></div>
 
+<div class="note">
+       <h3>Note</h3>
+       <p>If the first VirtualHost block does <em>not</em> include a
+       <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code> directive, the reverse
+       DNS of the relevant IP will be used instead. 
+       If this is not the server name you
+       wish to use, a bogus entry (<code>ServerName
+       none.example.com</code>) can be added to get around this
+       behaviour.</p>
+</div> 
+
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="ipbased" id="ipbased">More Efficient IP-Based Virtual Hosting</a></h2>
index 47d543b5588024cf80f8217265fafe0a3586f6f4..2b820694d2cd4b01c147eed1e3c295b336463824 100644 (file)
@@ -241,6 +241,17 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon<br />
 &lt;/VirtualHost&gt;
 </example>
 
+<note>
+       <title>Note</title>
+       <p>If the first VirtualHost block does <em>not</em> include a
+       <directive module="core">ServerName</directive> directive, the reverse
+       DNS of the relevant IP will be used instead. 
+       If this is not the server name you
+       wish to use, a bogus entry (<code>ServerName
+       none.example.com</code>) can be added to get around this
+       behaviour.</p>
+</note>        
+
 </section>
 
 <section id="ipbased"><title>More Efficient IP-Based Virtual Hosting</title>