tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Campbell <>
Subject RE: deny access to folders
Date Thu, 06 Jun 2002 06:09:14 GMT

In %TOMCAT_HOME%\conf\web.xml you can change the 'listings' parameter to
false like this. This will deny listings for all contexts though, maybe you
want to change it in your contexts web.xml only...



> I want to restrict access to all folders under
> %TOMCAT_HOME%\webapps\MyWebApp\jsp\ directory.
> Meaning when the user browses to the jsp folder and a folder 
> underneath it then he should not see a directory listing but 
> instead a "You are not authorized to view the contents" type of 
> message.

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

View raw message