diff options
author | Stefan Fritsch <sf@apache.org> | 2011-08-03 23:36:18 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-08-03 23:36:18 +0200 |
commit | 9d2ca013b661cd1ecad9ccfa09767896d0e28891 (patch) | |
tree | b50e4e5d7c6c3c7fa82503f66e49a0088acd0c4f /include/http_config.h | |
parent | Adjust some messages for <If> blocks and remove some dead code (diff) | |
download | apache2-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.h | 1 |
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 <Directory> */ #define NOT_IN_LOCATION 0x08 /**< Forbidden in <Location> */ #define NOT_IN_FILES 0x10 /**< Forbidden in <Files> */ +#define NOT_IN_HTACCESS 0x20 /**< Forbidden in .htaccess files */ /** Forbidden in <Directory>/<Location>/<Files>*/ #define NOT_IN_DIR_LOC_FILE (NOT_IN_DIRECTORY|NOT_IN_LOCATION|NOT_IN_FILES) /** Forbidden in <VirtualHost>/<Limit>/<Directory>/<Location>/<Files> */ |