tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Carwin" <>
Subject JK2: -ForwardDirectories equivalent ?
Date Wed, 20 Oct 2004 17:39:37 GMT
There's a known bug in the jk connector:

Which forwards directory requests to tomcat even when
-ForwardDirectories is turned off.

Testing jk2 I'm seeing the same behavior. Is there a known way to
prevent directory listings from being forwarded to tomcat with jk2? [you
cannot put JkOptions -ForwardDirectories into the apache conf with jk2]

Does JK2 lack a way to prevent directory forwarding to Tomcat?

Dan Carwin

Recreation details:

1. set: DirectoryIndex index.html index.html.var home.html Default.htm
Default.html index.jsp index.htm index.cgi Default.jsp 

2. create empty directory under docroot. e.g. /htdocs/empty

3. specify in

info=mapping all jsp to tomcat

4. Visit empty directory, instead of dir listing or apache error, see a
tomcat 500 error. 

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

View raw message