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 - [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
Resent-To: [EMAIL PROTECTED]
feel free to kill the buffer overflow comment. Someone should fix it,
though.
--- configuring.xml Fri Aug 6 14:42:22 2004
+++ configuring-1.xml Fri Aug 6 15:08:38 2004
@@ -82,6 +82,27 @@
option.</p>
</section>
+ <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
<code>env</code>
+ has been defined in the environment. Substitions may occur
anywhere
+ 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
through
+ <code>.htaccess</code> files. A buffer overflow will be triggered
+ if the substitution results in a directive of more than 8191
characters.</p>
+ </section>
+
<section id="modules">
<title>Modules</title>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]