summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@apache.org>2001-08-21 07:57:13 +0200
committerDoug MacEachern <dougm@apache.org>2001-08-21 07:57:13 +0200
commitac9c800d11bbc699bc4c7d584b23562a3ce6d931 (patch)
tree4335f9ea78dc2777cc6e053f93c1c82bda303d03
parent Changes for rbb's #include/build openssl/inc32 patch. (diff)
downloadapache2-ac9c800d11bbc699bc4c7d584b23562a3ce6d931.tar.xz
apache2-ac9c800d11bbc699bc4c7d584b23562a3ce6d931.zip
authentication/authorization hooks were backwards
make authentication hook run APR_HOOK_FIRST for FakeBasicAuth PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90463 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/ssl/mod_ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ssl/mod_ssl.c b/modules/ssl/mod_ssl.c
index adb9a13ae6..ff6b539499 100644
--- a/modules/ssl/mod_ssl.c
+++ b/modules/ssl/mod_ssl.c
@@ -465,10 +465,10 @@ static void ssl_register_hooks(apr_pool_t *p)
ap_hook_pre_config (ssl_hook_pre_config, NULL,NULL, APR_HOOK_MIDDLE);
ap_hook_child_init (ssl_init_Child, NULL,NULL, APR_HOOK_MIDDLE);
ap_hook_translate_name(ssl_hook_Translate, NULL,NULL, APR_HOOK_MIDDLE);
- ap_hook_check_user_id (ssl_hook_UserCheck, NULL,NULL, APR_HOOK_MIDDLE);
+ ap_hook_check_user_id (ssl_hook_Auth, NULL,NULL, APR_HOOK_FIRST);
ap_hook_fixups (ssl_hook_Fixup, NULL,NULL, APR_HOOK_MIDDLE);
ap_hook_access_checker(ssl_hook_Access, NULL,NULL, APR_HOOK_MIDDLE);
- ap_hook_auth_checker (ssl_hook_Auth, NULL,NULL, APR_HOOK_MIDDLE);
+ ap_hook_auth_checker (ssl_hook_UserCheck, NULL,NULL, APR_HOOK_MIDDLE);
ssl_var_register();
}