summaryrefslogtreecommitdiffstats
path: root/include/http_config.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2012-09-24 14:42:32 +0200
committerJeff Trawick <trawick@apache.org>2012-09-24 14:42:32 +0200
commitdfc4862f0e912c5fa248ab9eb1cfd1a5f96e3f44 (patch)
treedd3b7cda1a7ff0523368f869f39bd424c561856d /include/http_config.h
parentWinNT MPM logging: (diff)
downloadapache2-dfc4862f0e912c5fa248ab9eb1cfd1a5f96e3f44.tar.xz
apache2-dfc4862f0e912c5fa248ab9eb1cfd1a5f96e3f44.zip
add pre_htaccess hook; in conjunction with earlier dirwalk_stat
and post_perdir_config hooks, this should allow mpm-itk to be used without patches to httpd core git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1389339 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_config.h')
-rw-r--r--include/http_config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/http_config.h b/include/http_config.h
index 617ab2a682..9d6b013b5e 100644
--- a/include/http_config.h
+++ b/include/http_config.h
@@ -1322,6 +1322,15 @@ AP_DECLARE_HOOK(int,quick_handler,(request_rec *r, int lookup_uri))
AP_DECLARE_HOOK(void,optional_fn_retrieve,(void))
/**
+ * Allow modules to perform a check immediately prior to opening htaccess.
+ * @param r The current request
+ * @param filename The htaccess file which will be processed
+ * @return HTTP status code to fail the operation, or DECLINED to let later
+ * modules decide
+ */
+AP_DECLARE_HOOK(int,pre_htaccess,(request_rec *r, const char *filename))
+
+/**
* A generic pool cleanup that will reset a pointer to NULL. For use with
* apr_pool_cleanup_register.
* @param data The address of the pointer