Preventing directory listings in WebApplication

2005-01-10 Thread Paul Taylor
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

Re: Preventing directory listings in WebApplication

2005-01-10 Thread epyonne
] 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

Re: Preventing directory listings in WebApplication

2005-01-10 Thread Ben Souther
Just before the error page listings in your application's web.xml file. 4305 4306 welcome-file-list id=WelcomeFileList_1 4307 welcome-fileindex.html/welcome-file 4308 welcome-fileindex.jsp/welcome-file 4308 welcome-filestart.jsp/welcome-file - 4309

Re: Preventing directory listings in WebApplication

2005-01-10 Thread Paul Taylor
Ok Ive realised what I was doing wrong I was listing a file on each directory as follows welcome-file-list id=WelcomeFileList_1 welcome-filesection1/start.jsp/welcome-file welcome-filesection2/start.jsp/welcome-file /welcome-file-list when i just needed to specify the file Also you can use