tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "epyonne" <epyonneNOS...@hotmail.com>
Subject Re: Preventing directory listings in WebApplication
Date Mon, 10 Jan 2005 14:41:51 GMT
There are two ways to do that:
1. Turn off the directory listing in one of the configuration file. But I
cannot remember which one off the top of my head.
2. Put an index.jsp with a generic message in each folder.

Hope this helps.


----- Original Message ----- 
From: "Paul Taylor" <paul_t100@fastmail.fm>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Monday, January 10, 2005 08:21 AM
Subject: Preventing directory listings in WebApplication


> Hi
> How exactly do I stop the user going into directory containing jsps and
> listing all the jsps within it as a directory listing. I dont mind them
> specifying a particular jsp and going straight to that but I would / to
> map to the default page for the particular some section.
>
> i.e
> myapp/section1
> i want go to myapp/section1/start.jsp
>
> myapp/section2
> i want go to myapp/section2/start.jsp
>
>  I guess its something to do with mappings the applications in web.xml
> but I cant get it working.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message