Disabling directory listings in Jetty

Wessel, Keith kwessel at illinois.edu
Wed Dec 2 12:59:00 EST 2015


I feel like I'm overlooking something obvious here, but Google is failing me on this one... probably because I'm giving it the wrong search.

I'd like to disable Jetty's automaticly generated directory listings for /idp/images and /idp/css. I know I could just put index.html pages in my war file in those directories, but I'd prefer the server return a 403. Is there a setting I can add to my jetty.xml to disable directory listings globally? Or something I can add to web.xml to at least disable them for the IDP?


More information about the users mailing list