summaryrefslogtreecommitdiffstats
path: root/include/http_config.h
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-08-03 23:36:18 +0200
committerStefan Fritsch <sf@apache.org>2011-08-03 23:36:18 +0200
commit9d2ca013b661cd1ecad9ccfa09767896d0e28891 (patch)
treeb50e4e5d7c6c3c7fa82503f66e49a0088acd0c4f /include/http_config.h
parentAdjust some messages for <If> blocks and remove some dead code (diff)
downloadapache2-9d2ca013b661cd1ecad9ccfa09767896d0e28891.tar.xz
apache2-9d2ca013b661cd1ecad9ccfa09767896d0e28891.zip
cleanups related to new AllowOverrideList functionality:
- add new NOT_IN_HTACCESS flag for ap_check_cmd_context() - describe the need for this in new_api_2_4.xml - forbid Define and UnDefine in .htaccess git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1153676 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_config.h')
-rw-r--r--include/http_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/http_config.h b/include/http_config.h
index 26949b7fb2..2eef16a710 100644
--- a/include/http_config.h
+++ b/include/http_config.h
@@ -881,6 +881,7 @@ AP_DECLARE(const char *) ap_check_cmd_context(cmd_parms *cmd,
#define NOT_IN_DIRECTORY 0x04 /**< Forbidden in &lt;Directory&gt; */
#define NOT_IN_LOCATION 0x08 /**< Forbidden in &lt;Location&gt; */
#define NOT_IN_FILES 0x10 /**< Forbidden in &lt;Files&gt; */
+#define NOT_IN_HTACCESS 0x20 /**< Forbidden in .htaccess files */
/** Forbidden in &lt;Directory&gt;/&lt;Location&gt;/&lt;Files&gt;*/
#define NOT_IN_DIR_LOC_FILE (NOT_IN_DIRECTORY|NOT_IN_LOCATION|NOT_IN_FILES)
/** Forbidden in &lt;VirtualHost&gt;/&lt;Limit&gt;/&lt;Directory&gt;/&lt;Location&gt;/&lt;Files&gt; */