summaryrefslogtreecommitdiffstats
path: root/include/http_config.h
diff options
context:
space:
mode:
authorDaniel Ruggeri <druggeri@apache.org>2011-07-28 00:24:14 +0200
committerDaniel Ruggeri <druggeri@apache.org>2011-07-28 00:24:14 +0200
commit0d690871270275ca0f946102fb8808dc69bac7fb (patch)
tree5930e6aa691c8cd5d00471a974ab6a9287afeb84 /include/http_config.h
parentupdate xforms (diff)
downloadapache2-0d690871270275ca0f946102fb8808dc69bac7fb.tar.xz
apache2-0d690871270275ca0f946102fb8808dc69bac7fb.zip
Add AllowOverrideList directive and documentation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1151654 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_config.h')
-rw-r--r--include/http_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/http_config.h b/include/http_config.h
index ab7de2792b..26949b7fb2 100644
--- a/include/http_config.h
+++ b/include/http_config.h
@@ -28,6 +28,7 @@
#include "util_cfgtree.h"
#include "ap_config.h"
+#include "apr_tables.h"
#ifdef __cplusplus
extern "C" {
@@ -282,6 +283,8 @@ struct cmd_parms_struct {
int override;
/** Which allow-override-opts bits are set */
int override_opts;
+ /** Table of directives allowed per AllowOverrideList */
+ apr_table_t *override_list;
/** Which methods are &lt;Limit&gt;ed */
apr_int64_t limited;
/** methods which are limited */
@@ -1065,6 +1068,7 @@ AP_CORE_DECLARE(ap_conf_vector_t*) ap_create_conn_config(apr_pool_t *p);
* @param r The request currently being served
* @param override Which overrides are active
* @param override_opts Which allow-override-opts bits are set
+ * @param override_list Table of directives allowed for override
* @param path The path to the htaccess file
* @param access_name The list of possible names for .htaccess files
* int The status of the current request
@@ -1073,6 +1077,7 @@ AP_CORE_DECLARE(int) ap_parse_htaccess(ap_conf_vector_t **result,
request_rec *r,
int override,
int override_opts,
+ apr_table_t *override_list,
const char *path,
const char *access_name);