-For Stopping directory listing look for following in server.xml of tomcat

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

-If you jar are lying in /WEB-INF/lib/ users cannot brows to that


-Please provide context as what are you working with. tomcat !  apache !
solaris ! linux ! visual basic :)


-----Original Message-----
From: Allen Harper [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 5:52 PM
To: [EMAIL PROTECTED]
Subject: Stopping directory indexing


How do I stop directory indexing?  In other words, how do I stop the user
from typing a URL pointing to a directory and getting the directory listing.
Also, by default, if a user types the URL pointing to a .jar file, they can
retrieve that .jar file... How can you stop that?

Allen

Reply via email to