This content has been marked as final.
Show 1 reply
-
1. Re: Avoid Directory browsing ?
jonlee Jun 22, 2003 1:34 PM (in response to hgarrett)More of a Jetty question than a JBoss question. Look at server/default/deploy/jbossweb-jetty.sar/webdefault.xml.
Look for the attribute set:
<init-param>
<param-name>dirAllowed</param-name>
<param-value>true</param-value>
</init-param>
Set it to false and you should be away once you restart JBoss/Jetty. There are also comments in the file about different settings for your servlet container.