I have not verified it yet but it appears that you can set the suppress property to
true for the
StaticInterceptor in server.xml
<!-- "default" handler - static files and dirs. Set the
"suppress" property 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.
-->
<RequestInterceptor
className="org.apache.tomcat.request.StaticInterceptor"
debug="0" suppress="true" />
--- Tim Kang <[EMAIL PROTECTED]> wrote:
> Do you guys know how to turn off the directory browsing option in Tomcat?
>
> Thanks
>
> Tim
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/