This is how you turn off directory list for yr Tomcat server.
Edit the default servlet in the {$CATALINA_HOME}/conf/web.xml file.
Look for the section within the
<servlet><br /> <servlet-name>default</servlet-name><br /> <servlet-class><br /> org.apache.catalina.servlets.DefaultServlet<br /> </servlet-class><br /> <init-param><br /> <param-name>debug</param-name><br /> <param-value>0</param-value><br /> </init-param><br /> <init-param><br /> <param-name>listings</param-name><br /> <param-value>true</param-value><br /> </init-param><br /> <load-on-startup>1</load-on-startup><br /> </servlet>
- Change the to false for the listing section.
<init-param><br /> <param-name>listings</param-name><br /> <param-value>false</param-value><br /> </init-param>