]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Additional comment about the role of ServerName
authorRich Bowen <rbowen@apache.org>
Mon, 18 Oct 2010 15:37:02 +0000 (15:37 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 18 Oct 2010 15:37:02 +0000 (15:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1023856 13f79535-47bb-0310-9956-ffa450edef68

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

index 9bc883fd556c3bb58855b5bb05f76a86dba3352b..b9ef2ef2605a683a5316fdd26b91b50eb6d7e3ea 100644 (file)
@@ -2864,7 +2864,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 a4fa22d2ea59ff4e84020cdcb53ac8d116a7bf58..c541108c0716584199850893b7c84946d8d333ac 100644 (file)
@@ -2851,7 +2851,13 @@ 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, <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