I'm involved in jk/jk2 on tomcat and we wonder on tomcat-dev if we should use translate in MIDDLE or FIRST position (specifying that mod_rewrite to be the first in hooks chain).
I see in jk that we're using :
ap_hook_translate_name(jk_translate,NULL,NULL,APR_HOOK_MIDDLE);
and now in jk2 :
static const char * const aszPre[] = { "mod_rewrite.c", NULL }; ap_hook_translate_name(jk2_translate, aszPre, NULL, APR_HOOK_FIRST);
What do you think of it ?
MIDDLE or FIRST but after mod_rewrite ?
Thanks for your help and advices !!!