[Remove entries to the current 2.0 section below, when backported]
+ *) Hook mod_rewrite's type checker before mod_mime's one. That way the
+ RewriteRule [T=...] Flag should work as expected now. PR 19626.
+ [André Malo]
+
*) Fix a problem with namespace mappings being dropped in mod_dav_fs;
if any property values were set which defined namespaces these
came out mangled in the PROPFIND response. PR 11637.
*/
static const char * const aszPre[]={ "mod_proxy.c", NULL };
+ /* check type before mod_mime, so that [T=foo/bar] will not be
+ * overridden by AddType definitions.
+ */
+ static const char * const ct_aszSucc[]={ "mod_mime.c", NULL };
+
APR_REGISTER_OPTIONAL_FN(ap_register_rewrite_mapfunc);
ap_hook_handler(handler_redirect, NULL, NULL, APR_HOOK_MIDDLE);
ap_hook_fixups(hook_fixup, aszPre, NULL, APR_HOOK_FIRST);
ap_hook_translate_name(hook_uri2file, NULL, NULL, APR_HOOK_FIRST);
- ap_hook_type_checker(hook_mimetype, NULL, NULL, APR_HOOK_MIDDLE);
+ ap_hook_type_checker(hook_mimetype, NULL, ct_aszSucc, APR_HOOK_MIDDLE);
}
/* the main config structure */