Hi, What if I want a solution that applies to only one webapp, FooApp for example, and not the whole server? Where in FooApp's web.xml would I put the listings = false directive?
Thanks, Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Holger Klein-Altstedde [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, August 14, 2002 7:31 AM >To: 'Tomcat Users List' >Subject: AW: Block a dir to not display its content > >I attached the file /conf/web.xml >Ist in the servlet section. > >Regs >Holger > >> -----Urspr�ngliche Nachricht----- >> Von: R.C.Nougain [mailto:[EMAIL PROTECTED]] >> Gesendet: Mittwoch, 14. August 2002 13:27 >> An: Tomcat Users List >> Betreff: Re: Block a dir to not display its content >> >> >> holger.klein >> >> I tried but. Where inside web.xml I need to put! >> >> -- >> >> >> >> ----- Original Message ----- >> From: "Holger Klein-Altstedde" <[EMAIL PROTECTED]> >> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> >> Sent: Wednesday, August 14, 2002 4:53 PM >> Subject: AW: Block a dir to not display its content >> >> >> Try >> <init-param> >> <param-name>listings</param-name> >> <param-value>false</param-value> >> </init-param> >> >> in your web.xml. This will force Tomcat not indexing your directory. >> >> Regs >> Holger >> >> > -----Urspr�ngliche Nachricht----- >> > Von: D Bamud [mailto:[EMAIL PROTECTED]] >> > Gesendet: Mittwoch, 14. August 2002 13:21 >> > An: Tomcat Users List >> > Betreff: Block a dir to not display its content >> > >> > >> > Tomcat4.0.4 / J2SDK1.4.0/W2K >> > >> > My application is webapps/bbc. It works just fine. The dirs >> inside it >> > are "jsp" and "WEB-INF". Inside the jsp dir I have my *.jsp >> files and >> > also some directories like "doc", "src", "images" etc. >> These are the >> > directories that the end user should not see content of via the >> > browser. If someone make a URL like /bbc/jsp/doc the contents are >> > displayed on the browser and the user could see/save them. >> I want to >> > prevent them IN THE SAME WAY AS "WEB-INF" dir is now (Tomcat4.x >> > onwards). How to do it. >> > >> > One way is of-course put default file like index.html (based on the >> > configuration). But I am looking for more better way (WEB-INF way). >> > Where and what I need to delcare. >> > >> > -- >> > Thanks >> > >> > >> > >> > -- >> > To unsubscribe, e-mail: >> > <mailto:tomcat-user-> [EMAIL PROTECTED]> >> > For >> > additional commands, >> > e-mail: <mailto:[EMAIL PROTECTED]> >> > >> >> >> -- >> To unsubscribe, e-mail: >> <mailto:tomcat-user-> [EMAIL PROTECTED]> >> For >> additional commands, >> e-mail: <mailto:[EMAIL PROTECTED]> >> >> >> >> -- >> To unsubscribe, e-mail: >> <mailto:tomcat-user-> [EMAIL PROTECTED]> >> For >> additional commands, >> e-mail: <mailto:[EMAIL PROTECTED]> >>
This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
