You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ta...@apache.org on 2008/07/10 15:27:38 UTC
svn commit: r675568 -
/httpd/httpd/trunk/docs/manual/mod/mod_access_compat.xml
Author: takashi
Date: Thu Jul 10 06:27:37 2008
New Revision: 675568
URL: http://svn.apache.org/viewvc?rev=675568&view=rev
Log:
note negation of env-var (env=!)
PR: 44901
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_access_compat.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mod_access_compat.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_access_compat.xml?rev=675568&r1=675567&r2=675568&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_access_compat.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_access_compat.xml Thu Jul 10 06:27:37 2008
@@ -81,8 +81,8 @@
<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 @@
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 @@
<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>