tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David M. Holmes" <david_m_hol...@yahoo.com>
Subject Re: Directory Browsing Option
Date Sat, 16 Dec 2000 23:42:19 GMT
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 <timkang@stratfordinternet.com> 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/

Mime
View raw message