From: Daniel Gruno
Date: Mon, 29 Apr 2013 12:19:14 +0000 (+0000)
Subject: Expand on how to set context specific directives.
X-Git-Tag: 2.5.0-alpha~5521
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed8334e91b07b5f6c43a59a2e3c58c6a1de2171a;p=apache
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 01e8e1f80a..3acb280306 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