]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1507320 from trunk:
authorEric Covener <covener@apache.org>
Fri, 26 Jul 2013 14:21:54 +0000 (14:21 +0000)
committerEric Covener <covener@apache.org>
Fri, 26 Jul 2013 14:21:54 +0000 (14:21 +0000)
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/branches/2.2.x@1507323 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_env.xml

index e2ddd764e5157858031f199896acfebc583b79b2..d918c6abfc6ae4304ff1ffc1b461981c53e65dd5 100644 (file)
@@ -64,7 +64,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>
@@ -76,6 +76,9 @@ SSI pages</description>
     <example><title>Example</title>
       SetEnv SPECIAL_PATH /foo/bin
     </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