You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2013/07/26 16:21:36 UTC

svn commit: r1507321 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_env.xml

Author: covener
Date: Fri Jul 26 14:21:35 2013
New Revision: 1507321

URL: http://svn.apache.org/r1507321
Log:
Merge r1507320 from trunk:

1-arg SetEnv is valid

http://httpd.apache.org/docs/2.2/mod/mod_proxy_http.html#comment_1528



Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_env.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_env.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_env.xml?rev=1507321&r1=1507320&r2=1507321&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_env.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_env.xml Fri Jul 26 14:21:35 2013
@@ -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