]> granicus.if.org Git - apache/commitdiff
use AP_HOOK_LAST for this module. This may or may not be the final
authorAllan K. Edwards <ake@apache.org>
Tue, 9 Jan 2001 21:38:35 +0000 (21:38 +0000)
committerAllan K. Edwards <ake@apache.org>
Tue, 9 Jan 2001 21:38:35 +0000 (21:38 +0000)
solution but it is at least more correct.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87634 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_file_cache.c

index 7f409d78959c0c7e303a3f7edd34a8f57df0a3b0..261dd29802184b9b5b61391762a535803c0caaa1 100644 (file)
@@ -480,7 +480,7 @@ AP_INIT_ITERATE("mmapfile", mmapfile, NULL, RSRC_CONF,
 
 static void register_hooks(void)
 {
-    ap_hook_handler(file_cache_handler, NULL, NULL, AP_HOOK_MIDDLE);
+    ap_hook_handler(file_cache_handler, NULL, NULL, AP_HOOK_LAST);
     ap_hook_post_config(file_cache_post_config, NULL, NULL, AP_HOOK_MIDDLE);
     ap_hook_translate_name(file_cache_xlat, NULL, NULL, AP_HOOK_MIDDLE);
     /* This trick doesn't work apparently because the translate hooks