Hi docs@, The SetEnv directive cannot be used to set env vars for use by mod_rewrite or mod_setenvif because it runs after them both. My own testing and PR36908 confirm the 'issue'.
Is this patch ok? I'm not very happy with it.
Index: docs/manual/mod/mod_env.xml
===================================================================
--- docs/manual/mod/mod_env.xml (revision 641079)
+++ docs/manual/mod/mod_env.xml (working copy)
@@ -72,6 +72,11 @@
<example><title>Example</title>
SetEnv SPECIAL_PATH /foo/bin
</example>
+ <note type="warning"> This directive runs late during request processing
+ meaning that directives such as <directive
+ module="mod_setenvif">SetEnvIf</directive> and <directive
+ module="mod_rewrite">RewriteCond</directive> will not see the variables set
+ with it. </note>
</usage>
</directivesynopsis>
--
noodl
setenv.patch
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
