Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] How can I prevent Directory Listing in WebAppContext

This feature is controlled by dirAllowed parameter of org.eclipse.jetty.servlet.DefaultServlet.

-Michael

On Fri, Apr 15, 2011 at 11:44 AM, Ike Ikonne <iikonne@xxxxxxxxxx> wrote:
Hi all,

I am running Jetty in embedded mode and I have a WebAppContext; I would like to block users
of this app from browsing directories in this app, is there a way that I can programmatically do that?
I have looked through the WebAppContext but there doesn't seem to be anyway to do it from that.

Thanks,

Ike


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top