From: Joshua Slive Date: Tue, 29 Nov 2005 18:11:41 +0000 (+0000) Subject: Fix a mixed-up module reference and document (carefully) X-Git-Tag: 2.3.0~2713 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79e3fd74a2ba5c3e556fe305191bce2fc41616b5;p=thirdparty%2Fapache%2Fhttpd.git Fix a mixed-up module reference and document (carefully) how to turn off require in a subdirectory. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349776 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 9541517b04b..3d9447e70f1 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -2404,7 +2404,7 @@ a resource

This directive selects which authenticated users can access a resource. The restrictions are processed by authorization modules. Some of the allowed syntaxes provided by - mod_authz_owner and + mod_authz_user and mod_authz_groupfile are:

@@ -2447,6 +2447,37 @@ a resource place the Require statement into a Limit section.

+ +

If Require is used together with + the Allow or + Deny directives, + then the interaction of these restrictions is controlled by + the Satisfy directive.

+ + Removing controls in subdirectories +

The following example shows how to use the Satisfy directive to disable access + controls in a subdirectory of a protected directory. This + technique should be used with caution, because it will also + disable any access controls imposed by + mod_authz_host.

+ + <Directory /path/to/protected/>
+ + Require user david
+
+ </Directory>
+ <Directory /path/to/protected/unprotected>
+ + # All access controls and authentication are disabled
+ # in this directory
+ Satisfy Any
+ Allow from all
+
+ </Directory>
+
+
+ Authentication, Authorization,