From: Eric Covener Date: Sun, 1 Nov 2009 16:24:59 +0000 (+0000) Subject: address FAQ of SetEnv environment variables not being available to early X-Git-Tag: 2.3.3~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2eb4d470d406e22d207fa057c959acd004d18ece;p=apache address FAQ of SetEnv environment variables not being available to early directives such as RewriteRule. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@831695 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_env.html.en b/docs/manual/mod/mod_env.html.en index 0a744a34ec..c365f09085 100644 --- a/docs/manual/mod/mod_env.html.en +++ b/docs/manual/mod/mod_env.html.en @@ -88,6 +88,16 @@ SSI pages SetEnv SPECIAL_PATH /foo/bin

+

The internal environment variables set by this directive are set + after most early request processing directives are run, such as access + control and URI-to-filename mapping. If the environment variable you're + setting is meant as input into this early phase of processing such as the + RewriteRule directive, you should + instead set the environment variable with + SetEnvIf.

+
+ +
top

UnsetEnv Directive

diff --git a/docs/manual/mod/mod_env.xml b/docs/manual/mod/mod_env.xml index fbbfb24626..e7937674c0 100644 --- a/docs/manual/mod/mod_env.xml +++ b/docs/manual/mod/mod_env.xml @@ -72,6 +72,16 @@ SSI pages Example SetEnv SPECIAL_PATH /foo/bin + +

The internal environment variables set by this directive are set + after most early request processing directives are run, such as access + control and URI-to-filename mapping. If the environment variable you're + setting is meant as input into this early phase of processing such as the + RewriteRule directive, you should + instead set the environment variable with + SetEnvIf.

+
+