[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Directory Listing
jiwils
do-not-reply at jboss.com
Tue Sep 5 10:57:12 EDT 2006
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>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969488#3969488
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969488
More information about the jboss-user
mailing list