tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pooleery, Manoj" <>
Subject RE: tomcat 4.1.18: disable default directory listing
Date Mon, 03 Feb 2003 23:19:36 GMT
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 - 


-----Original Message-----
From: Mona Wong-Barnum []
Sent: Monday, February 03, 2003 6:13 PM
Subject: tomcat 4.1.18: disable default directory listing

	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  

	How do I disable directory listing?  I'm using tomcat 4.1.18 and I
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.


     "Your body is just a place that your memory calls home"
							- Deepak Chopra

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message