]> granicus.if.org Git - apache/commitdiff
Add teensy clarification to the introductory paragraph for the
authorRich Bowen <rbowen@apache.org>
Mon, 18 Oct 2010 15:26:57 +0000 (15:26 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 18 Oct 2010 15:26:57 +0000 (15:26 +0000)
ServerName directive.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1023846 13f79535-47bb-0310-9956-ffa450edef68

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

index 35925eac2a8ae5a7866fc689dca2de964fe7a3d4..29eb9590db90a13b73f0bf6c5da90474864f3df5 100644 (file)
@@ -3300,7 +3300,13 @@ itself</td></tr>
     <p>The <code class="directive">ServerName</code> directive sets the
     request scheme, hostname and
     port that the server uses to identify itself.  This is used when
-    creating redirection URLs. For example, if the name of the
+    creating redirection URLs.</p>
+
+    <p>Additionally, <code class="directive">ServerName</code> is used (possibly
+    in conjunction with <code class="directive">ServerAlias</code>) to uniquely
+    identify a virtual host, when using <a href="../vhosts/name-based.html">name-based virtual hosts</a>.</p>
+    
+    <p>For example, if the name of the
     machine hosting the web server is <code>simple.example.com</code>,
     but the machine also has the DNS alias <code>www.example.com</code>
     and you wish the web server to be so identified, the following
index 2d354955c8dfe8bf6e3114ab92676c1e142b105c..da653ddbf7d5ed83aa0999ae66a42e2591700e00 100644 (file)
@@ -3298,7 +3298,14 @@ itself</description>
     <p>The <directive>ServerName</directive> directive sets the
     request scheme, hostname and
     port that the server uses to identify itself.  This is used when
-    creating redirection URLs. For example, if the name of the
+    creating redirection URLs.</p>
+
+    <p>Additionally, <directive>ServerName</directive> is used (possibly
+    in conjunction with <directive>ServerAlias</directive>) to uniquely
+    identify a virtual host, when using <a
+    href="../vhosts/name-based.html">name-based virtual hosts</a>.</p>
+    
+    <p>For example, if the name of the
     machine hosting the web server is <code>simple.example.com</code>,
     but the machine also has the DNS alias <code>www.example.com</code>
     and you wish the web server to be so identified, the following