Submitted by: Paul Reder <rederpj@raleigh.ibm.com>
Reviewed by: Bill Stoddard <stoddard@raleigh.ibm.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84635
13f79535-47bb-0310-9956-
ffa450edef68
static void register_hooks(void)
{
- ap_hook_type_checker(magic_find_ct, NULL, NULL, HOOK_MIDDLE);
+ static const char * const aszPre[]={ "mod_mime.c", NULL };
+
+ /* mod_mime_magic should be run after mod_mime, if at all. */
+
+ ap_hook_type_checker(magic_find_ct, aszPre, NULL, HOOK_MIDDLE);
ap_hook_post_config(magic_init, NULL, NULL, HOOK_FIRST);
}