You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2004/02/27 15:24:57 UTC
cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c
hgomez 2004/02/27 06:24:57
Modified: jk/native2/server/apache2 mod_jk2.c
Log:
Move translate to APR_HOOK_MIDDLE and make sure mod_rewrite will be
before us
Revision Changes Path
1.69 +8 -4 jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c
Index: mod_jk2.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- mod_jk2.c 27 Feb 2004 08:34:18 -0000 1.68
+++ mod_jk2.c 27 Feb 2004 14:24:57 -0000 1.69
@@ -891,11 +891,15 @@
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);
+ 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); /* use APR_HOOK_MIDDLE instead ? */
+ ap_hook_child_init(jk2_child_init, NULL, NULL, APR_HOOK_LAST);
+
+ ap_hook_translate_name(jk2_translate, aszPre, NULL, APR_HOOK_MIDDLE);
ap_hook_map_to_storage(jk2_map_to_storage, NULL, NULL, APR_HOOK_MIDDLE);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org