]> granicus.if.org Git - apache/commitdiff
Backport from trunk: Add a note that VirtualDocumentRoot will override DocumentRoot...
authorDaniel Gruno <humbedooh@apache.org>
Tue, 12 Jun 2012 07:17:21 +0000 (07:17 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Tue, 12 Jun 2012 07:17:21 +0000 (07:17 +0000)
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

index b1d716b443248b0beaf03eee192147429a8d8413..4b7eb17c22c9ae773c0ce5e805ea7fe5d6d18218 100644 (file)
@@ -252,7 +252,18 @@ for a given virtual host</description>
     cannot be used in the same context as <directive
     module="mod_vhost_alias">VirtualDocumentRootIP</directive>.</p>
 
+<note type="warning"><title>Note</title>
+<directive>VirtualDocumentRoot</directive> will override any <directive
+module="core">DocumentRoot</directive> directives you may have put in the same 
+context or child contexts. Putting a <directive>VirtualDocumentRoot</directive> 
+in the global server scope will effectively override <directive 
+module="core">DocumentRoot</directive> directives in any virtual hosts defined later 
+on, unless you set <directive>VirtualDocumentRoot</directive> to <code>None</code> 
+in each virtual host.
+</note>
+
 </usage>
+
 </directivesynopsis>
 
 <directivesynopsis>