From eb99eebdcd4f19864048f6f42dbd4ad61ea935f9 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Thu, 12 Mar 2009 17:52:51 +0000 Subject: [PATCH] It's a pet peeve of mine when docs do something, and then say "don't do that." Remove the hostname from the line, and use an IP address instead. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@752951 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/vhosts/ip-based.html.en | 7 ++++--- docs/manual/vhosts/ip-based.xml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/manual/vhosts/ip-based.html.en b/docs/manual/vhosts/ip-based.html.en index 7ba49f1ab7..7eefd312f7 100644 --- a/docs/manual/vhosts/ip-based.html.en +++ b/docs/manual/vhosts/ip-based.html.en @@ -113,7 +113,7 @@ host. e.g.

- <VirtualHost www.smallco.com>
+ <VirtualHost 172.20.30.40:80>
ServerAdmin webmaster@mail.smallco.com
DocumentRoot /groups/smallco/www
ServerName www.smallco.com
@@ -121,7 +121,7 @@ TransferLog /groups/smallco/logs/access_log
</VirtualHost>

- <VirtualHost www.baygroup.org>
+ <VirtualHost 172.20.30.50:80>
ServerAdmin webmaster@mail.baygroup.org
DocumentRoot /groups/baygroup/www
ServerName www.baygroup.org
@@ -131,7 +131,8 @@

It is recommended that you use an IP address instead of a - hostname (see DNS caveats).

+ hostname in the <VirtualHost> directive + (see DNS caveats).

Almost any configuration directive can be put in the VirtualHost directive, with the exception of diff --git a/docs/manual/vhosts/ip-based.xml b/docs/manual/vhosts/ip-based.xml index 7b54a12b49..e1ea4912a2 100644 --- a/docs/manual/vhosts/ip-based.xml +++ b/docs/manual/vhosts/ip-based.xml @@ -118,7 +118,7 @@ host. e.g.

- <VirtualHost www.smallco.com>
+ <VirtualHost 172.20.30.40:80>
ServerAdmin webmaster@mail.smallco.com
DocumentRoot /groups/smallco/www
ServerName www.smallco.com
@@ -126,7 +126,7 @@ TransferLog /groups/smallco/logs/access_log
</VirtualHost>

- <VirtualHost www.baygroup.org>
+ <VirtualHost 172.20.30.50:80>
ServerAdmin webmaster@mail.baygroup.org
DocumentRoot /groups/baygroup/www
ServerName www.baygroup.org
@@ -136,7 +136,8 @@

It is recommended that you use an IP address instead of a - hostname (see DNS caveats).

+ hostname in the <VirtualHost> directive + (see DNS caveats).

Almost any configuration directive can be put in the VirtualHost directive, with the exception of -- 2.40.0