From: Chris Pepper Date: Tue, 28 Nov 2006 04:53:00 +0000 (+0000) Subject: Tweak Allow/Deny tagging. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fc8c16a1d6603d7c3f85a153e9ce394b766c721;p=thirdparty%2Fapache%2Fhttpd.git Tweak Allow/Deny tagging. Tweak tense. Update Allow/Deny match table. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@479902 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/htdocs/manual/mod/mod_access.html.en b/htdocs/manual/mod/mod_access.html.en index f24e766bf19..ee728712d0a 100644 --- a/htdocs/manual/mod/mod_access.html.en +++ b/htdocs/manual/mod/mod_access.html.en @@ -282,7 +282,7 @@ SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in - + @@ -295,12 +295,12 @@ SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in - - + + - - + +
Allow,Deny matchMatch Allow,Deny result Deny,Allow result
Request denied
No matchDefault to second directive (Denied)Default to second directive (Allowed)Default to second directive: DeniedDefault to second directive: Allowed
Match both Allow & DenyFinal match controls: request DeniedFinal match controls: request AllowedFinal match controls: DeniedFinal match controls: Allowed
@@ -318,7 +318,7 @@ SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in allowed access, except for the hosts which are in the foo.apache.org subdomain, who are denied access. All hosts not in the apache.org domain are denied access because the default - state is to deny access to the server.

+ state is to Deny access to the server.

Order Allow,Deny
@@ -334,8 +334,8 @@ SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in the Allow from apache.org will be evaluated last and will override the Deny from foo.apache.org. All hosts not in the apache.org domain will also - be allowed access because the default state will be - Allow.

+ be allowed access because the default state is + Allow.

The presence of an Order directive can affect access to a part of the server even in the absence of @@ -349,9 +349,9 @@ SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in </Directory>

-

will deny all access to the /www directory +

will Deny all access to the /www directory because the default access state is set to - Deny.

+ Deny.

The Order directive controls the order of access directive processing only within each phase of the