From: Daniel Gruno
Date: Mon, 29 Apr 2013 12:19:14 +0000 (+0000)
Subject: Expand on how to set context specific directives.
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe47404e193da4e090733e2e4fa0d7dfd4f129b7;p=thirdparty%2Fapache%2Fhttpd.git
Expand on how to set context specific directives.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1476984 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/developer/modguide.xml b/docs/manual/developer/modguide.xml
index 01e8e1f80a6..3acb2803067 100644
--- a/docs/manual/developer/modguide.xml
+++ b/docs/manual/developer/modguide.xml
@@ -1184,8 +1184,19 @@ AP_INIT_TAKE1("exampleEnabled", example_set_enabled, NULL, RSRC_CONF, "Enable or
this directive in a global server context, but since we are now trying out
a context aware version of our module, we should set this to something
more lenient, namely the value ACCESS_CONF, which lets us use
-the directive inside <Directory> and <Location> blocks.
+the directive inside <Directory> and <Location> blocks. For more
+control over the placement of your directives, you can combine the following
+restrictions together to form a specific rule:
+
+RSRC_CONF: Allow in .conf files (not .htaccess) outside <Directory> or <Location>
+ACCESS_CONF: Allow in .conf files (not .htaccess) inside <Directory> or <Location>
+OR_OPTIONS: Allow in .conf files and .htaccess when AllowOverride Options is set
+OR_FILEINFO: Allow in .conf files and .htaccess when AllowOverride FileInfo is set
+OR_AUTHCFG: Allow in .conf files and .htaccess when AllowOverride AuthConfig is set
+OR_INDEXES: Allow in .conf files and .htaccess when AllowOverride Indexes is set
+OR_ALL: Allow anywhere in .conf files and .htaccess
+
Using the server to allocate configuration slots