From cbc9a35108c23b6afc795e6b17901f2f01b62517 Mon Sep 17 00:00:00 2001
From: Daniel Gruno
Date: Tue, 12 Jun 2012 07:17:21 +0000
Subject: [PATCH] Backport from trunk: 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/branches/2.4.x@1349158 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_vhost_alias.xml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/docs/manual/mod/mod_vhost_alias.xml b/docs/manual/mod/mod_vhost_alias.xml
index b1d716b443..4b7eb17c22 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.
+
+
+
--
2.50.1