Hello Sourabh,

for tomcat 3.2.x there is the following method for suppressing directory
listing: found  the  below  definition  in  server.xml

<RequestInterceptor className="org.apache.tomcat.request.StaticInterceptor"
                    debug="0"  suppress="false" />

and set the "suppress" attribute to "true" to suppress directory
listings when no welcome file is present.

NOTE:  This setting applies to *all* web applications that
       are running in this instance of Tomcat.


Max

SK> Hi Suresh,
SK>     I am using tomcat 3.2.4, but this listing thing didn't work there. I
SK> tried specifying
SK> <StaticInterceptor listings="false" /> in "server.xml"
SK> but still my application directory list was available for /myApplication.
SK> Which version of tomcat did u try? Is it due to version diff?
SK> -sourabh

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to