There's a known bug in the jk connector:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25104

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?

Thanks,
Dan Carwin
[EMAIL PROTECTED]

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 workers2.properties

[uri:/*.jsp]
info=mapping all jsp to tomcat

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


Reply via email to