From: Daniel Gruno Date: Fri, 20 Jul 2012 13:20:27 +0000 (+0000) Subject: Backport some more, small changes. X-Git-Tag: 2.2.23~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e70379d6aefd5c0c77fa0d0692f25c8a9aab8a3;p=thirdparty%2Fapache%2Fhttpd.git Backport some more, small changes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1363767 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/vhosts/index.xml b/docs/manual/vhosts/index.xml index 7c1de337137..1dd91bad59e 100644 --- a/docs/manual/vhosts/index.xml +++ b/docs/manual/vhosts/index.xml @@ -29,7 +29,7 @@

The term Virtual Host refers to the practice of running more than one web site (such as - www.company1.com and www.company2.com) + company1.example.com and company2.example.com) on a single machine. Virtual hosts can be "IP-based", meaning that you have a different IP address for every web site, or "host-based or non-IP virtual hosts.

Below is a list of documentation pages which explain all - details of virtual host support in Apache version 1.3 and - later.

+ details of virtual host support in Apache HTTP Server:

@@ -81,9 +80,9 @@ hosts
Configuration directives
Setting up a single daemon - with virtual hosts + with virtual hosts

For this case, a single httpd will service requests for the main server and all the virtual hosts. The TransferLog /groups/smallco/logs/access_log
</VirtualHost>
-
+
<VirtualHost 192.168.0.2:80>
ServerAdmin webmaster@baygroup.example.org
DocumentRoot /groups/baygroup/www
ServerName baygroup.example.com
ErrorLog /groups/baygroup/logs/error_log
TransferLog /groups/baygroup/logs/access_log
- </VirtualHost> - +</VirtualHost> +

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

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

+ +

Specific IP addresses or ports have precedence over their wildcard + equivalents, and any virtual host that matches has precedence over + the servers base configuration.

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