From: Doug MacEachern Date: Tue, 21 Aug 2001 05:57:13 +0000 (+0000) Subject: authentication/authorization hooks were backwards X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24e911657403d969c41af8b0ff5981d34127a2c0;p=thirdparty%2Fapache%2Fhttpd.git 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/modules/ssl@90463 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/mod_ssl.c b/mod_ssl.c index adb9a13ae61..ff6b5394997 100644 --- a/mod_ssl.c +++ b/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(); }