httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1500044 - /httpd/httpd/trunk/docs/manual/vhosts/name-based.html.en
Date Fri, 05 Jul 2013 15:29:35 GMT
Author: covener
Date: Fri Jul  5 15:29:35 2013
New Revision: 1500044

URL: http://svn.apache.org/r1500044
Log:
xform

Modified:
    httpd/httpd/trunk/docs/manual/vhosts/name-based.html.en

Modified: httpd/httpd/trunk/docs/manual/vhosts/name-based.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/vhosts/name-based.html.en?rev=1500044&r1=1500043&r2=1500044&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/vhosts/name-based.html.en (original)
+++ httpd/httpd/trunk/docs/manual/vhosts/name-based.html.en Fri Jul  5 15:29:35 2013
@@ -111,6 +111,18 @@
         virtual hosts.</p>
     </div>
 
+    <div class="note"><h3>ServerName inheritance</h3>
+       <p> It is best to always explicitly list a  <code class="directive"><a
href="../mod/core.html#servername">ServerName</a></code> in every name-based
virtual host.</p>
+       <p>If a <code class="directive"><a href="../mod/core.html#virtualhost">VirtualHost</a></code>
doesn't specify 
+       a <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code>,
a server name will be 
+       inherited from the base server configuration.  If no server name was 
+       specified globally, one is detected at startup through reverse DNS resolution
+       of the first listening address.  In either case, this inherited server name
+       will influenced name-based virtual host resolution, so it is best to always
+       explicitly list a  <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code>
in every
+       name-based virtual host.</p>
+    </div>
+
     <p>For example, suppose that you are serving the domain
     <code>www.example.com</code> and you wish to add the virtual host
     <code>other.example.com</code>, which points at the same IP address.



Mime
View raw message