disable directory listing for /gwt context root

This commit is contained in:
Axel Uhl committed 2014-07-21 23:54:32 +02:00
1 parent e2aaa40d4c
commit b83e004057
1 file changed
+11
@@ -4,6 +4,17 @@
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
<!-- Disable directory listing: -->
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>org.eclipse.jetty.servlet.DefaultServlet
</servlet-class>
<init-param>
<param-name>dirAllowed</param-name>
<param-value>false</param-value>
</init-param>
</servlet>
<filter>
<filter-name>GWTCacheControlServletFilter</filter-name>
<filter-class>com.sap.sse.gwt.server.GWTCacheControlServletFilter</filter-class>