summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2013-07-26 16:21:07 +0200
committerEric Covener <covener@apache.org>2013-07-26 16:21:07 +0200
commitafc05931980eb24322bce7254d61f3c0a1a806c3 (patch)
tree66f45b26d54a3c6680c95a9cfb4194ab0231024b
parentFix bug #55304 with the provided patch, slightly reformatted. (diff)
downloadapache2-afc05931980eb24322bce7254d61f3c0a1a806c3.tar.xz
apache2-afc05931980eb24322bce7254d61f3c0a1a806c3.zip
1-arg SetEnv is valid
http://httpd.apache.org/docs/2.2/mod/mod_proxy_http.html#comment_1528 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1507320 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/manual/mod/mod_env.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/manual/mod/mod_env.xml b/docs/manual/mod/mod_env.xml
index 6f42f4004a..f87e3b85a8 100644
--- a/docs/manual/mod/mod_env.xml
+++ b/docs/manual/mod/mod_env.xml
@@ -66,7 +66,7 @@ SSI pages</description>
<directivesynopsis>
<name>SetEnv</name>
<description>Sets environment variables</description>
-<syntax>SetEnv <var>env-variable</var> <var>value</var></syntax>
+<syntax>SetEnv <var>env-variable</var> [<var>value</var>]</syntax>
<contextlist><context>server config</context><context>virtual host</context>
<context>directory</context><context>.htaccess</context></contextlist>
<override>FileInfo</override>
@@ -80,6 +80,9 @@ SSI pages</description>
SetEnv SPECIAL_PATH /foo/bin
</highlight>
</example>
+
+ <p> If you omit the <var>value</var> argument, the variable is set to
+ an empty string.</p>
<note><p>The internal environment variables set by this directive are set
<em>after</em> most early request processing directives are run, such as access