From 3d47d2cc415da1671d7cb8e3502f3ed645914de6 Mon Sep 17 00:00:00 2001
From: Rich Bowen
Date: Fri, 16 Oct 2009 13:55:17 +0000
Subject: [PATCH] Adds the frequently-requested example of relaxing
authentication for a subdirectory. Whether this is actually a *good* idea is
left as an exercise for the reader.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@825898 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_access_compat.html.en | 20 ++++++++++++++++++++
docs/manual/mod/mod_access_compat.xml | 20 ++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/docs/manual/mod/mod_access_compat.html.en b/docs/manual/mod/mod_access_compat.html.en
index a04c297f6b..a91adab23f 100644
--- a/docs/manual/mod/mod_access_compat.html.en
+++ b/docs/manual/mod/mod_access_compat.html.en
@@ -414,6 +414,26 @@ later
Satisfy Any
+
+ Another frequent use of the Satisfy
directive
+ is to relax access restrictions for a subdirectory:
+
+
+
+ <Directory /var/www/private>
+ Require valid-user
+ </Directory>
+
+ <Directory /var/www/private/public>
+ Allow from all
+ Satisfy Any
+ </Directory>
+
+
+ In the above example, authentication will be required for the
+ /var/www/private
directory, but will not be required
+ for the /var/www/private/public
directory.
+
Since version 2.0.51 Satisfy
directives can
be restricted to particular methods by <Limit>
and <LimitExcept>
sections.
diff --git a/docs/manual/mod/mod_access_compat.xml b/docs/manual/mod/mod_access_compat.xml
index 4b9fca2e69..7ce830cec0 100644
--- a/docs/manual/mod/mod_access_compat.xml
+++ b/docs/manual/mod/mod_access_compat.xml
@@ -433,6 +433,26 @@ later
Satisfy Any
+
+ Another frequent use of the Satisfy directive
+ is to relax access restrictions for a subdirectory:
+
+
+
+ <Directory /var/www/private>
+ Require valid-user
+ </Directory>
+
+ <Directory /var/www/private/public>
+ Allow from all
+ Satisfy Any
+ </Directory>
+
+
+ In the above example, authentication will be required for the
+ /var/www/private
directory, but will not be required
+ for the /var/www/private/public
directory.
+
Since version 2.0.51 Satisfy directives can
be restricted to particular methods by Limit and