]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add a note that VirtualDocumentRoot will override DocumentRoot in the current scope...
authorDaniel Gruno <humbedooh@apache.org>
Wed, 6 Jun 2012 15:28:21 +0000 (15:28 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Wed, 6 Jun 2012 15:28:21 +0000 (15:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1346943 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>