either add an index.? in the directory you want protected
or look in $TOMCAT_HOME/conf/web.xml, find something like this ~ line 45
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
change the value of the listings param to false
-----Original Message-----
From: Jack Li [mailto:[EMAIL PROTECTED]]
Sent: 07 June 2002 16:24
To: '[EMAIL PROTECTED]'
Subject: How to prevent users from listing the content of directory in
Tom cat 4?
Hello all,
How to prevent users from listing the content of directory in Tomcat 4?
Thanks,
Jack Li
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
[EMAIL PROTECTED]
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************