From: Daniel Earl Poirier
Date: Thu, 19 Aug 2010 17:57:47 +0000 (+0000)
Subject: For NameVirtualHost, specify which vhost is the default if no
X-Git-Tag: 2.3.8~23
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d13512c118ad337e6a33d54a23832f767a4101e7;p=apache
For NameVirtualHost, specify which vhost is the default if no
match is found.
For ServerName, copy information about how multiple occurrences
are handled from the vhost doc.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@987251 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index cf15616c71..e26ff24535 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -2626,6 +2626,10 @@ are necessary.
+ If no matching virtual host is found, then the first listed
+ virtual host that matches the IP address and port will be used.
+
+
IPv6 addresses must be enclosed in square brackets, as shown
in the following example:
@@ -3104,6 +3108,11 @@ itself
ServerName www.example.com:80
+ The ServerName directive
+ may appear anywhere within the definition of a server. However,
+ each appearance overrides the previous appearance (within that
+ server).
+
If no ServerName is specified, then the
server attempts to deduce the hostname by performing a reverse
lookup on the IP address. If no port is specified in the
@@ -3690,6 +3699,11 @@ hostname or IP address
ServerName from the "main"
server configuration will be inherited.
+ If no matching virtual host is found, then the first listed
+ virtual host that matches the IP address will be used. As a
+ consequence, the first listed virtual host is the default virtual
+ host.
+
Security
See the security tips
document for details on why your security could be compromised if the