tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Lipofsky" <>
Subject Re: directory list
Date Fri, 06 Jun 2003 18:51:49 GMT
> If I don't use apache at all, how do I disable directory listing in

Depends on the version of tomcat.  Someone already gave the TC4 answer.
For TC3 set the suppress flag 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.
            debug="0" suppress="true" />

- Dan

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

View raw message