]> granicus.if.org Git - apache/commitdiff
note negation of env-var (env=!)
authorTakashi Sato <takashi@apache.org>
Thu, 10 Jul 2008 13:27:37 +0000 (13:27 +0000)
committerTakashi Sato <takashi@apache.org>
Thu, 10 Jul 2008 13:27:37 +0000 (13:27 +0000)
PR: 44901

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@675568 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_access_compat.xml

index 2d574d78babbc3f14bdaa59a2d52714c9fedcc03..98e54ad5b395c8990f7fd2bf6d3ca4a2db573643 100644 (file)
@@ -81,8 +81,8 @@ have been deprecated by the new authz refactoring.  Please see
 <name>Allow</name>
 <description>Controls which hosts can access an area of the
 server</description>
-<syntax> Allow from all|<var>host</var>|env=<var>env-variable</var>
-[<var>host</var>|env=<var>env-variable</var>] ...</syntax>
+<syntax> Allow from all|<var>host</var>|env=[!]<var>env-variable</var>
+[<var>host</var>|env=[!]<var>env-variable</var>] ...</syntax>
 <contextlist><context>directory</context><context>.htaccess</context>
 </contextlist>
 <override>Limit</override>
@@ -180,7 +180,10 @@ server</description>
     href="../env.html">environment variable</a>. When <code>Allow from
     env=<var>env-variable</var></code> is specified, then the request is
     allowed access if the environment variable <var>env-variable</var>
-    exists. The server provides the ability to set environment
+    exists. When <code>Allow from env=!<var>env-variable</var></code> is 
+    specified, then the request is allowed access if the environment 
+    variable <var>env-variable</var> doesn't exist.
+    The server provides the ability to set environment
     variables in a flexible way based on characteristics of the client
     request using the directives provided by
     <module>mod_setenvif</module>. Therefore, this directive can be
@@ -209,8 +212,8 @@ server</description>
 <name>Deny</name>
 <description>Controls which hosts are denied access to the
 server</description>
-<syntax> Deny from all|<var>host</var>|env=<var>env-variable</var>
-[<var>host</var>|env=<var>env-variable</var>] ...</syntax>
+<syntax> Deny from all|<var>host</var>|env=[!]<var>env-variable</var>
+[<var>host</var>|env=[!]<var>env-variable</var>] ...</syntax>
 <contextlist><context>directory</context><context>.htaccess</context>
 </contextlist>
 <override>Limit</override>