]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
reword/reorg/simplify based on recent feedback.
authorEric Covener <covener@apache.org>
Wed, 1 Oct 2014 12:40:58 +0000 (12:40 +0000)
committerEric Covener <covener@apache.org>
Wed, 1 Oct 2014 12:40:58 +0000 (12:40 +0000)
 - don't worry about how multiple IP addresses map
 - simplify the description of why you might use an IP address in <virtualhost
 - move the note below the last paragraph

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

docs/manual/vhosts/examples.xml

index f00b9454f0080b7901b2848a020f90fec57a0a17..0ea1ec5a44c9c892ef9ee9f0e2542ac7fe6c24c0 100644 (file)
   <section id="purename"><title>Running several name-based web
     sites on a single IP address.</title>
 
-    <p>Your server has a single IP address, and multiple aliases (CNAMES)
-    point to this machine in DNS. You want to run a web server for
-    <code>www.example.com</code> and <code>www.example.org</code> on this
-    machine.</p>
+    <p>Your server has multiple hostnames that resolve to a single address,
+    and you want to respond differently for <code>www.example.com</code> 
+    and <code>www.example.org</code>.</p>
 
     <note><title>Note</title><p>Creating virtual
           host configurations on your Apache server does not magically
@@ -80,12 +79,18 @@ Listen 80
     <code>ServerName</code> directives, it will be served by this first
     <code>VirtualHost</code>.</p>
 
+    <p>The above configuration is what you will want to use in almost
+    all name-based virtual hosting situations. The only thing that this
+    configuration will not work for, in fact, is when you are serving
+    different content based on differing IP addresses or ports.</p>
+
     <note>
             <title>Note</title>
 
-           <p>You can, if you wish, replace <code>*</code> with the actual
-           IP address of the system, when you don't care to discriminate based
-           on the IP address or port.</p>
+           <p>You may replace <code>*</code> with a specific IP address
+           on the system.  Such virtual hosts will only be used for 
+           HTTP requests received on connection to the specified IP 
+           address.</p>
 
            <p>However, it is additionally useful to use <code>*</code>
            on systems where the IP address is not predictable - for
@@ -95,12 +100,6 @@ Listen 80
            would work without changes whenever your IP address
            changes.</p>
     </note>
-
-    <p>The above configuration is what you will want to use in almost
-    all name-based virtual hosting situations. The only thing that this
-    configuration will not work for, in fact, is when you are serving
-    different content based on differing IP addresses or ports.</p>
-
   </section>
 
   <section id="twoips"><title>Name-based hosts on more than one