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

preventing directory listings

2003-10-06 Thread Denver J. Saldanha
Hi, I am using tomcat 3.3.1a. Now when i type sin the url http://localhost:8080/ http://localhost:8080/ I can see the directory listing. Is there any way to prevent this. Could you please let me know about this if there is a way. Thanks and Regards Denver Saldanha

RE: preventing directory listings

2003-10-06 Thread Boemio, Neil (GEI, FGI)
/servlet -Original Message- From: Denver J. Saldanha [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 1:29 AM To: [EMAIL PROTECTED] Subject: preventing directory listings Hi, I am using tomcat 3.3.1a. Now when i type sin the url http://localhost:8080/ http://localhost:8080