<div class="toplang">
<p><span>Available Languages: </span><a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
<a href="../en/mod/core.html" title="English"> en </a> |
-<a href="../ja/mod/core.html" hreflang="ja" rel="alternate" title=""> ja </a></p>
+<a href="../ja/mod/core.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a></p>
</div>
<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Core Apache HTTP Server features that are always
available</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>
<VirtualHost *><br />
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
<a href="../en/mod/core.html" title="English"> en </a> |
-<a href="../ja/mod/core.html" hreflang="ja" rel="alternate" title=""> ja </a></p>
+<a href="../ja/mod/core.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a></p>
</div><div id="footer">
<p class="apache">Copyright 2006 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
<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>
<VirtualHost *><br />
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 167959:559990 (outdated) -->
+<!-- English Revision: 167959:560011 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
<?xml version='1.0' encoding='EUC-KR' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 105989:421100 (outdated) -->
+<!-- English Revision: 105989:561800 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
</VirtualHost>
</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>
</VirtualHost>
</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>