<div dir="ltr"><div>Just add this config to your web.xml<br><br>&lt;servlet&gt;<br>      &lt;servlet-name&gt;default&lt;/servlet-name&gt;<br>      &lt;servlet-class&gt;io.undertow.servlet.handlers.DefaultServlet&lt;/servlet-class&gt;<br>
      &lt;init-param&gt;<br>          &lt;param-name&gt;allowed-extensions&lt;/param-name&gt;<br>          &lt;param-value&gt;js, css, png, jpg, gif, html, htm, txt, pdf, jpeg, xml, zip&lt;/param-value&gt;<br>      &lt;/init-param&gt;<br>
      &lt;init-param&gt;<br>          &lt;param-name&gt;disallowed-extensions&lt;/param-name&gt;<br>          &lt;param-value&gt;class, jar, war&lt;/param-value&gt;<br>      &lt;/init-param&gt;      <br> &lt;/servlet&gt;<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">&lt;<a href="mailto:andrei.tchijov@vgw.co" target="_blank">andrei.tchijov@vgw.co</a>&gt;</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>