[
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
|
I believe it is done for you automatically, you just need to set initParameter on WebAppContext as specified in DefaultServlet's JavaDoc.
-Michael
On Fri, Apr 15, 2011 at 12:04 PM, Ike Ikonne
<iikonne@xxxxxxxxxx> wrote:
Hi Michael,
Thanks, so, I need to add this servlet
as part of handlers to my webapp or is it automatically
added when I create an instance of webAppContext?
Thanks,
Ike
From:
Michael Gorovoy <michael@xxxxxxxxxxx>
To:
JETTY user mailing
list <jetty-users@xxxxxxxxxxx>
Cc:
Ike Ikonne/Dallas/IBM@IBMUS,
jetty-users-bounces@xxxxxxxxxxx
Date:
04/15/2011 10:51 AM
Subject:
Re: [jetty-users]
How can I prevent Directory Listing in WebAppContext
Sent by:
mgorovoy@xxxxxxxxxxx
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