]> granicus.if.org Git - apache/commitdiff
spell out the obviously not so obvious
authordgaudet <dgaudet@unknown>
Fri, 20 Feb 1998 06:47:54 +0000 (06:47 +0000)
committerdgaudet <dgaudet@unknown>
Fri, 20 Feb 1998 06:47:54 +0000 (06:47 +0000)
fix slight semantic error

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

docs/manual/vhosts/details.html
docs/manual/vhosts/name-based.html
docs/manual/vhosts/name-based.html.en

index 7da5f602388075c4d3ca9bed9cde862e624343ce..fdb9512597d6bfbcc57126d1fd699edd480afa4d 100644 (file)
@@ -214,10 +214,10 @@ one or more vhost structures. This list contains the vhosts in the same
 order as the <CODE>VirtualHost</CODE> directives appear in the config
 file.
 
-<P>The first vhost on this list (the first vhost that appears after the
-corresponding <CODE>NameVirtualHost</CODE> directive in the config file)
-has the highest priority and catches any request to an unknown 
-server name or a request without a <CODE>Host:</CODE> header.
+<P>The first vhost on this list (the first vhost in the config file with
+the specified IP address) has the highest priority and catches any request
+to an unknown server name or a request without a <CODE>Host:</CODE>
+header.
 
 <P>If the client provided a <CODE>Host:</CODE> header the list is
 searched for a matching vhost and the first hit on a <CODE>ServerName</CODE>
index 0c1a9317b007ba36c4973c119b1fd07c3cf1e85c..f02e4d85acf0e13546491d37e73a51cc1b8dfde4 100644 (file)
@@ -64,6 +64,11 @@ all that is needed is to make sure that the name
 <SAMP>www.domain.tld</SAMP> is an alias (CNAME) pointing to the IP address
 <SAMP>111.22.33.44</SAMP></P>
 
+<p>Note: When you specify an IP address in a <code>NameVirtualHost</code>
+directive then requests to that IP address will only ever be served
+by matching &lt;VirtualHost&gt;s.  The "main server" will <b>never</b>
+be served from the specified IP address.
+
 <P>Additionally, many servers may wish to be accessible by more than
 one name. For example, the example server might want to be accessible
 as <CODE>domain.tld</CODE>, or <CODE>www2.domain.tld</CODE>, assuming
index 0c1a9317b007ba36c4973c119b1fd07c3cf1e85c..f02e4d85acf0e13546491d37e73a51cc1b8dfde4 100644 (file)
@@ -64,6 +64,11 @@ all that is needed is to make sure that the name
 <SAMP>www.domain.tld</SAMP> is an alias (CNAME) pointing to the IP address
 <SAMP>111.22.33.44</SAMP></P>
 
+<p>Note: When you specify an IP address in a <code>NameVirtualHost</code>
+directive then requests to that IP address will only ever be served
+by matching &lt;VirtualHost&gt;s.  The "main server" will <b>never</b>
+be served from the specified IP address.
+
 <P>Additionally, many servers may wish to be accessible by more than
 one name. For example, the example server might want to be accessible
 as <CODE>domain.tld</CODE>, or <CODE>www2.domain.tld</CODE>, assuming