File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes directoy listing access by application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "directoy listing access by application" Watch "directoy listing access by application" New topic

directoy listing access by application

Aodhan Hoffman
Ranch Hand

Joined: May 21, 2004
Posts: 35

Is there a way in tomcat to configure a /context/ to disallow directory listings? I know you can disable it in $CATALINA_HOME/conf/web.xml for all applications, but is it possible do disable directory listing in $CATALINA_HOME/webapps/webapp/WEB-INF/web.xml? Thanks!

-------<br /> Aodhan H - Ad Astra Per Aspera<br /> -------
I agree. Here's the link:
subject: directoy listing access by application
It's not a secret anymore!