Bommineni [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 12:52 PM
To: [EMAIL PROTECTED]
Subject: Directory Listing in Tomcat 4.1.12
Hello All,
I would like to use default tomcat directory listing functionality in
one of my application. And it works fine when I set the docBase
Hello All,
I would like to use default tomcat directory listing functionality in
one of my application. And it works fine when I set the docBase to the
directory which i would like to see as listing. But that directory
consists of some symbolic links to the files which are outside of that
Hi,
I upgraded my server from Tomcat 3.3 to Tomcat 4.1.12,
and could not figure out how to disable directory
listing.
It was done by setting StaticInterceptor's listing
attribute to false in Tomcat 3.3, but it looks like
StaticInterceptor is no longer part of Tomcat 4.1.12's
server.xml?
I have
Yeah, well, there are a lot of thing that I miss from 3.3 that aren't in
4.1.x :)
To answer your question, you need to edit the $CATALINA_HOME/conf/web.xml
file, and change the param-namelistings/param-name param-value for the
default servlet from true to false.
Yandell Cacton [EMAIL PROTECTED]