You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/06/12 09:17:22 UTC
svn commit: r1349158 -
/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_vhost_alias.xml
Author: humbedooh
Date: Tue Jun 12 07:17:21 2012
New Revision: 1349158
URL: http://svn.apache.org/viewvc?rev=1349158&view=rev
Log:
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)
Modified:
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_vhost_alias.xml
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_vhost_alias.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_vhost_alias.xml?rev=1349158&r1=1349157&r2=1349158&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_vhost_alias.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_vhost_alias.xml Tue Jun 12 07:17:21 2012
@@ -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>