httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <>
Subject docs/manual/configuring.xml, section on environment variables in config files. (fwd)
Date Sat, 14 Aug 2004 21:55:49 GMT
This documentation was submitted to me. I was actually not aware of this
feature.  Is this an intentional feature? Anyone know?

Also, note the paragraph at the end, which would be better termed a bug
report than feature documentation. 

Rich Bowen -
As we trace our own few circles around the sun
We get it backwards and our seven years go by like one
	Dog Years (Rush - Test for Echo - 1999)

---------- Forwarded message ----------
Date: Fri, 6 Aug 2004 17:30:54 -0500
From: Rici Lake <>
Subject: docs/manual/configuring.xml,
     section on environment variables in config files.
Resent-Date: Wed, 11 Aug 2004 21:18:46 -0500
Resent-From: Rici Lake <>

feel free to kill the buffer overflow comment. Someone should fix it, 

--- configuring.xml     Fri Aug  6 14:42:22 2004
+++ configuring-1.xml   Fri Aug  6 15:08:38 2004
@@ -82,6 +82,27 @@

+  <section id="substitution">
+    <title>Environment variable substitution</title>
+    <p><strong>Environment variable</strong> substitution is performed
+    prior to parsing any directive. Any occurrence(s) of
+    <code>${env}</code> will be replaced with the value of the
+    environment variable <code>env</code>, provided that 
+    has been defined in the environment.  Substitions may occur 
+    in the line, including the directive name itself.</p>
+    <p>Substitutions are performed literally; environment variables
+    which include white space will resolve to several arguments.
+    No white space is implied before or after an environment
+    variable substitution.</p>
+    <p>Environment variable substitution cannot be disabled; care must
+    be taken to avoid leakage of potentially sensitive information 
+    <code>.htaccess</code> files. A buffer overflow will be triggered
+    if the substitution results in a directive of more than 8191 
+  </section>
    <section id="modules">

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message