diff options
author | Nick Kew <niq@apache.org> | 2012-01-09 04:01:06 +0000 |
---|---|---|
committer | Nick Kew <niq@apache.org> | 2012-01-09 04:01:06 +0000 |
commit | e0ddfe0fdfd50acd20f597d0ad51e9104971f35b (patch) | |
tree | b94325699402da344f19d4b3f169c9a6a675dfa9 /include/http_config.h | |
parent | 29bf1ace3f2d6dc4296f25dcd6ddad142dc5097a (diff) | |
download | httpd-e0ddfe0fdfd50acd20f597d0ad51e9104971f35b.tar.gz |
Core configuration: add AllowOverride option to treat syntax
errors in .htaccess as non-fatal.
PR 52439
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1229021 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_config.h')
-rw-r--r-- | include/http_config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/http_config.h b/include/http_config.h index 30ec368594..951d64399a 100644 --- a/include/http_config.h +++ b/include/http_config.h @@ -242,6 +242,13 @@ struct command_struct { #define EXEC_ON_READ 256 /**< force directive to execute a command which would modify the configuration (like including another file, or IFModule */ +/* Flags to determine whether syntax errors in .htaccess should be + * treated as nonfatal (log and ignore errors) + */ +#define NONFATAL_OVERRIDE 512 /* Violation of AllowOverride rule */ +#define NONFATAL_UNKNOWN 1024 /* Unrecognised directive */ +#define NONFATAL_ALL (NONFATAL_OVERRIDE|NONFATAL_UNKNOWN) + /** this directive can be placed anywhere */ #define OR_ALL (OR_LIMIT|OR_OPTIONS|OR_FILEINFO|OR_AUTHCFG|OR_INDEXES) |