From: Daniel Gruno
Date: Wed, 6 Jun 2012 15:28:21 +0000 (+0000)
Subject: Add a note that VirtualDocumentRoot will override DocumentRoot in the current scope...
X-Git-Tag: 2.5.0-alpha~6752
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd32fe1342a5676d6b218d5a72ef4a5919784366;p=thirdparty%2Fapache%2Fhttpd.git
Add a note that VirtualDocumentRoot will override DocumentRoot in the current scope (and thus also in all virtual hosts if defined in the global server scope)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1346943 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_vhost_alias.xml b/docs/manual/mod/mod_vhost_alias.xml
index b1d716b4432..4b7eb17c22c 100644
--- a/docs/manual/mod/mod_vhost_alias.xml
+++ b/docs/manual/mod/mod_vhost_alias.xml
@@ -252,7 +252,18 @@ for a given virtual host
cannot be used in the same context as VirtualDocumentRootIP.
+Note
+VirtualDocumentRoot will override any DocumentRoot directives you may have put in the same
+context or child contexts. Putting a VirtualDocumentRoot
+in the global server scope will effectively override DocumentRoot directives in any virtual hosts defined later
+on, unless you set VirtualDocumentRoot to None
+in each virtual host.
+
+
+