This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "directoy listing access by application" Watch "directoy listing access by application" New topic
Author

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 /> -------
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: directoy listing access by application