You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Dan Carwin <dc...@covalent.net> on 2004/10/20 19:39:37 UTC
JK2: -ForwardDirectories equivalent ?
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