in your tomcat_home/conf/web.xml find
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>
make the listing to false.
----- Original Message -----
From: "Gabriel Belingueres" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, May 17, 2005 7:28 PM
Subject: Deny directory listing in Tomcat 4.1.x
Hi,
I need to deny the access to my web app's directory listing in Tomcat
4.1.x.
How do I do that?
TIA,
Gabriel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]