]> granicus.if.org Git - apache/commitdiff
1-arg SetEnv is valid
authorEric Covener <covener@apache.org>
Fri, 26 Jul 2013 14:21:07 +0000 (14:21 +0000)
committerEric Covener <covener@apache.org>
Fri, 26 Jul 2013 14:21:07 +0000 (14:21 +0000)
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

docs/manual/mod/mod_env.xml

index 6f42f4004a1edc170df7963524432552152aced3..f87e3b85a82c35fa62b679acb783d4a9ab510c8f 100644 (file)
@@ -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