You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fa...@locus.apache.org on 2000/04/04 15:27:03 UTC
cvs commit: apache-2.0/htdocs/manual/vhosts mass.html
fanf 00/04/04 06:27:03
Modified: htdocs/manual/vhosts mass.html
Log:
Clarify the DOCUMENT_ROOT environment variable oddity.
Suggested by: Scott Goodman <sc...@searchbc.com>
Revision Changes Path
1.5 +9 -7 apache-2.0/htdocs/manual/vhosts/mass.html
Index: mass.html
===================================================================
RCS file: /home/cvs/apache-2.0/htdocs/manual/vhosts/mass.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mass.html 1999/08/10 14:23:16 1.4
+++ mass.html 2000/04/04 13:27:02 1.5
@@ -122,13 +122,15 @@
<P>The other thing to `fake' is the document root (configured
with <CODE>DocumentRoot</CODE> and available to CGIs via the
-<CODE>DOCUMENT_ROOT</CODE> environment variable). This setting
-is used by the core module when mapping URIs to filenames, but
-when the server is configured to do dynamic virtual hosting that
-job is taken over by another module. If any CGIs or SSI documents
-make use of the <CODE>DOCUMENT_ROOT</CODE> environment variable
-they will therefore get a misleading value; there isn't any way to
-change <CODE>DOCUMENT_ROOT</CODE> dynamically.</P>
+<CODE>DOCUMENT_ROOT</CODE> environment variable). In a normal
+configuration this setting is used by the core module when mapping
+URIs to filenames, but when the server is configured to do dynamic
+virtual hosting that job is taken over by another module (either
+<CODE>mod_vhost_alias</CODE> or <CODE>mod_rewrite</CODE>) which has
+a different way of doing the mapping. Neither of these modules is
+responsible for setting the <CODE>DOCUMENT_ROOT</CODE> environment
+variable so if any CGIs or SSI documents make use of it they will
+get a misleading value.</P>
<HR><H2><A NAME="simple">Simple dynamic virtual hosts</A></H2>