Allow directory browsing in Lucee EXPRESS

Hi,

I know that for security reason directory browsing is disallowed but for
dev would be great if we had default in express edition allowing directory
browsing or at least add the instruction in web.xml.

Changes in Tomcat since 6 meant that any file call will be routed to
default servlet and even if you try to allow directory listing ( setting to
true ).

So quick solution would be to edit web.xml

<servlet-mapping>
    <servlet-name>default</servlet-name>
    <url-pattern>/</url-pattern>
</servlet-mapping>

replace it with

<servlet-mapping>
    <servlet-name>FileServlet</servlet-name>
    <url-pattern>/</url-pattern>
</servlet-mapping>

Credit goes to Sean Corfield:
http://corfield.org/entry/Quick_Tip_Railo_on_Tomcat

Works fine.

So why we don’t add it to lucee setup? And even in production as comment?

M B