<div dir="ltr"><div>Just add this config to your web.xml<br><br><servlet><br> <servlet-name>default</servlet-name><br> <servlet-class>io.undertow.servlet.handlers.DefaultServlet</servlet-class><br>
<init-param><br> <param-name>allowed-extensions</param-name><br> <param-value>js, css, png, jpg, gif, html, htm, txt, pdf, jpeg, xml, zip</param-value><br> </init-param><br>
<init-param><br> <param-name>disallowed-extensions</param-name><br> <param-value>class, jar, war</param-value><br> </init-param> <br> </servlet><br>
<br></div>and modify allowed / disallowed extensions anyway you want<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 30, 2014 at 10:01 AM, Andrei Tchijov <span dir="ltr"><<a href="mailto:andrei.tchijov@vgw.co" target="_blank">andrei.tchijov@vgw.co</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
Hi,</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<span style="white-space:pre-wrap">        </span>Sorry to bother (if this is wrong list to ask), but I wonder if anybody can help me with following problem:</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><span style="white-space:pre-wrap">        </span>We have an application deployed on wildfly which among other things serves few static files (*.html, *.json and *.zip). Everything works as it should in 8.0.0Final. However, in 8.1RC2 - *.html and *.json files do work, but *.zip files report 404. Nothing changed on our side - the very same WAR file gets deployed in both cases.</div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<span style="white-space:pre-wrap">        </span>Your help will be highly appreciated,</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
Cheers,</div><div><div style="font-family:helvetica,arial;font-size:13px"><span style="white-space:pre-wrap">        </span>Andrei Tchijov<br><br></div></div></div><br>_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br></blockquote></div><br></div>