The <Location> tag works only fo URLs
if you want to put restrictions on a directory
you  should use the <Directory> tag.

Good luck

JB

> Hi
> 
> I'm a TomCat newbie and i would like to prevent directory indexing 
> from my
> TomCat application. This app it is not in /usr/local/jakarta-
> tomcat/webapps/but it is in /projects/something.
> 
> I tried
> 
> <Location /something>
>    Options -Indexes
>    DirectoryIndex
> </Location>
> 
> but it didn't worked!
> 
> Can anyone help me on this?
> 
> Thank you
> 
> Diogo
> 

Reply via email to