tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Carwin" <dcar...@covalent.net>
Subject JK2: -ForwardDirectories equivalent ?
Date Wed, 20 Oct 2004 17:39:37 GMT
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
dcarwin@covalent.net

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. 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message