Hi Jone,

the directory listing is provided by jetty's defaultServlet and the dirAllowed setting is the one you have to set to false. So that should normally do what you need. Could you please paste your webdefault.xml and also the web.xml of your application?

Cheers,
Thomas

On 09/08/2011 17:44, Jone Lura wrote:
Hi,

I have a web application and I want to disable the directory listing when the user enters an url location without a welcome file.

I have tried to change dirAllowed to false in webdefault.xml, but this does not seem to have any effect.

I am using a mywebapp.xml in the context folder, and have tried to add various settings there, but this did not have any effect either.

any ideas?

Best regards
Jone


_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to