1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| --- mod_jk2.c.orig 2004-01-26 17:31:04.000000000 +0100
+++ mod_jk2.c 2004-01-26 17:30:48.000000000 +0100
@@ -808,11 +808,14 @@
static void jk2_register_hooks(apr_pool_t *p)
{
+ static const char * const aszPre[]={ "mod_rewrite.c",NULL };
+
ap_hook_handler(jk2_handler, NULL, NULL, APR_HOOK_MIDDLE);
ap_hook_post_config(jk2_post_config,NULL,NULL,APR_HOOK_MIDDLE);
/* Force the mpm to run before us and set the
* scoreboard image */
ap_hook_child_init(jk2_child_init,NULL,NULL,APR_HOOK_LAST);
- ap_hook_translate_name(jk2_translate,NULL,NULL,APR_HOOK_FIRST);
+ // ap_hook_translate_name(jk2_translate,NULL,NULL,APR_HOOK_FIRST);
+ ap_hook_translate_name(jk2_translate, aszPre,NULL,APR_HOOK_FIRST);
ap_hook_map_to_storage(jk2_map_to_storage, NULL, NULL, APR_HOOK_MIDDLE);
} |
Partager