Thanks. But what about certain directory ? -----Original Message----- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 3:00 PM To: Tomcat Users List Subject: RE: How to disable directory listing
Yes there is. In the $CATALINA_HOME/conf/web.xml Change the init paramter listings to false see below: <init-param> <param-name>listings</param-name> <param-value>false</param-value> </init-param> Regards, Carl -----Original Message----- From: Lee Chin Khiong [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 8:29 AM To: 'Tomcat Users List' Subject: RE: How to disable directory listing Is there any better way to configure Tomcat 5 to no Directory listing just like IIS ? -----Original Message----- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 2:19 PM To: [EMAIL PROTECTED] Subject: Re: How to disable directory listing On Wednesday 24 November 2004 08:09, Lee Chin Khiong wrote: > How to disable directory listing under Tomcat 5 ? I use a blank index.html file and put it in all the directories that I don't want to have listed. :) Q -- Quinton Delpeche Internal Systems Developer Softline VIP Telephone: +27 12 420 7000 Direct: +27 12 420 7007 Facsimile: +27 12 420 7344 http://www.vippayroll.co.za/ "All snakes who wish to remain in Ireland will please raise their right hands." -- Saint Patrick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]