This content has been marked as final.
Show 1 reply
-
1. Re: Directory Listing
jiwils Sep 5, 2006 10:57 AM (in response to golanbln)Inside the $JBOSS_HOME/server/xxx/deploy/jbossweb-tomcat55.sar/conf directory, edit the file named web.xml. Inside that file search for the default servlet and change the value for the listings parameter to false. Its declaration, as it appears in that file, is shown below.
<servlet> <servlet-name>default</servlet-name> <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> <init-param> <param-name>listings</param-name> <param-value>true</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet>