Disable directory listing for the webconsole 344/head
authorColm O hEigeartaigh <coheigea@apache.org>
Fri, 8 Feb 2019 15:25:13 +0000 (15:25 +0000)
committerColm O hEigeartaigh <coheigea@apache.org>
Fri, 8 Feb 2019 15:25:13 +0000 (15:25 +0000)
activemq-web-console/src/main/webapp/WEB-INF/web.xml

index b588e60..2f50e5b 100644 (file)
   <session-config>
        <session-timeout>30</session-timeout>
   </session-config>
+
+  <context-param>
+    <param-name>org.eclipse.jetty.servlet.Default.dirAllowed</param-name>
+    <param-value>false</param-value>
+  </context-param>
   
 </web-app>