Return-Path: Delivered-To: apache-cvs-archive@hyperreal.org Received: (qmail 21715 invoked by uid 6000); 20 Feb 1998 06:47:58 -0000 Received: (qmail 21706 invoked by alias); 20 Feb 1998 06:47:56 -0000 Delivered-To: apache-1.3-cvs@hyperreal.org Received: (qmail 21704 invoked by uid 143); 20 Feb 1998 06:47:56 -0000 Date: 20 Feb 1998 06:47:56 -0000 Message-ID: <19980220064756.21703.qmail@hyperreal.org> From: dgaudet@hyperreal.org To: apache-1.3-cvs@hyperreal.org Subject: cvs commit: apache-1.3/htdocs/manual/vhosts details.html name-based.html Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org dgaudet 98/02/19 22:47:55 Modified: htdocs/manual/vhosts details.html name-based.html Log: spell out the obviously not so obvious fix slight semantic error Revision Changes Path 1.5 +4 -4 apache-1.3/htdocs/manual/vhosts/details.html Index: details.html =================================================================== RCS file: /export/home/cvs/apache-1.3/htdocs/manual/vhosts/details.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- details.html 1998/02/05 20:05:14 1.4 +++ details.html 1998/02/20 06:47:53 1.5 @@ -214,10 +214,10 @@ order as the VirtualHost directives appear in the config file. -

The first vhost on this list (the first vhost that appears after the -corresponding NameVirtualHost directive in the config file) -has the highest priority and catches any request to an unknown -server name or a request without a Host: header. +

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 Host: +header.

If the client provided a Host: header the list is searched for a matching vhost and the first hit on a ServerName 1.5 +5 -0 apache-1.3/htdocs/manual/vhosts/name-based.html Index: name-based.html =================================================================== RCS file: /export/home/cvs/apache-1.3/htdocs/manual/vhosts/name-based.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- name-based.html 1998/02/05 20:05:17 1.4 +++ name-based.html 1998/02/20 06:47:54 1.5 @@ -64,6 +64,11 @@ www.domain.tld is an alias (CNAME) pointing to the IP address 111.22.33.44

+

Note: When you specify an IP address in a NameVirtualHost +directive then requests to that IP address will only ever be served +by matching <VirtualHost>s. The "main server" will never +be served from the specified IP address. +

Additionally, many servers may wish to be accessible by more than one name. For example, the example server might want to be accessible as domain.tld, or www2.domain.tld, assuming