Changes with Apache 2.0.46
+ *) 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]
+
*) htpasswd: Check the processed file on validity. If a line is not empty
and not a comment, it must contain at least one colon. Otherwise exit
with error code 7. [Kris Verbeeck <Kris.Verbeeck@ubizen.com>, Thom May]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2003/05/13 22:17:44 $]
+Last modified at [$Date: 2003/05/13 22:49:38 $]
Release:
(the docs should explain the thing better. Currently it's not
really understandable for users. If nobody else does, nd tries to.)
- * Hook mod_rewrite's type checker before mod_mime's one. That way the
- RewriteRule [T=...] Flag should work as expected now. PR 19626.
- modules/mappers/mod_rewrite.c r1.150
- +1: nd, trawick, stoddard
-
* mod_auth_ldap: Use generic whitespace character class when parsing
"require" directives, instead of literal spaces only. PR 17135.
modules/experimental/mod_auth_ldap.c r1.16
*/
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 */