Since it seems like people have totally different needs in regards to
static files and redirection of 'ambiguous' directory requests to
Tomcat, I went with the option ForwardDirectories, which can be
specified in JkOptions. It is off by default.

When turned off, any directory that doesn't contain any of the files
specified in DirectoryIndex will be handled by Apache, by whichever
module does automatic directory indexing (normally mod_autoindex).

When turned on, such requests will be forwarded to Tomcat for
resolution. This then gives Tomcat the opportunity to do its magic and
serve whatever it pleases, including the contents of the directory,
similar to mod_autoindex, or whatever else.

This, of course, is only applicable to mod_jk 1.2.0.

mod_jk2 still transfers all such requests to Tomcat, I believe. I'll
have to learn a great deal more about it in order to apply something
like the above to it.

Bojan

On Wed, 2002-07-24 at 14:48, [EMAIL PROTECTED] wrote:
> bojan       2002/07/23 21:48:52
> 
>   Modified:    jk/native/apache-2.0 mod_jk.c


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to