tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <>
Subject RE: FW: mod_jk 1.2 Apache 2 hook priorities
Date Thu, 01 May 2003 18:22:19 GMT

> From: Glenn Nielsen
> Thanks for the explanation below about how it could impact 
> use of index.jsp as a DirectoryIndex.  I will not commit the 
> change at this time.  This will require some more thought on 
> how to get the Alias config to work with mod_jk.

Actually I've tested all that using HOOK_MIDDLE, and it works (didn't
for 2.0.39).

I've made a patch few months ago that used HOOK_MIDDLE (for jk2), but it
didn't worked.
The explanation I gave was why it was reverted.
The Apache API says: "Modules that don't care when they are run should

The question is are we really 'care'. This will need more tests, so IMO
it should go to


> > 
> > The problem was with internal redirects, not serving jsp 
> files in the 
> > Apache directory tree. Look at the mod_proxy and 
> mod_rewrite. They all 
> > use the HOOK_FIRST for the same reason as we
> > do. Since we are not dealing with the file system, the 
> famous file_walk
> > didn't run, so we need
> > ensure that we are run before mod_dir.
> > 
> > The easiest way to check if the mod_jk (and mod_jk2) hook 
> order change 
> > from HOOK_FIRST to HOOK_MIDDLE would break something is to set the 
> > DirectoryIndex to include the jsp page (look at the bug 10789). 
> > Perhaps Apache now deals with hooks differently.
> > 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message