Yes, you can prevent the directory listings. The settings for this is in the web.xml in the conf directory of tomcat. The settings are for the default servlet (The first entry in the web.xml). There is a property called 'listings', which you can set to false. The default value is true. You can do it like this - <init-param> <param-name>listings</param-name> <param-value>false</param-value> </init-param>
Thanks -Manoj. -----Original Message----- From: Mona Wong-Barnum [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 6:13 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: tomcat 4.1.18: disable default directory listing Hi: I'm sure this has been asked many times before but I've searched all over the mail archives as well as google and did not find the answer I need... How do I disable directory listing? I'm using tomcat 4.1.18 and I do not want to count on index.html or index.jsp. Is there a way to do this from server.xml? Your patience and help is appreciated. Sincerely, Mona ************************************************************************ **** "Your body is just a place that your memory calls home" - Deepak Chopra ************************************************************************ **** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]