tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eduardo Andrés Alfonso Sierra <>
Subject Avoid Directory Listings
Date Sun, 20 Feb 2005 07:18:24 GMT

I'm trying to stop tomcat from list contents of directories. I've
tried securing it and it works but has the BIG problem that you must
secure every directory separated.

Is there any posibility to secure the directory listings of every
directory in an application ??

Thanks in advance.

I'm doing this:


It works but I MUST add a url-pattern tag FOR EVERY directory in my
application if i'm to avoid all directory listings in my context.

I've tryied patterns like /*/, /**/, /*/*/*/*/, */ and similar ones
and nothing worked.

Is possible to avoid easily , all the directory listings?

Thanks again.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message