Re: Tomcat directory listing
Kapil: To turn off directory listings, change the listings attribute of the StaticInterceptor to false in the server.xml file. For example: StaticInterceptor listings=false / This is a paragraph from the Tomcat 3.3 User's Guide, but maybe this could help you with your Tomcat 3.3.1 They could have the same behaviour. Nancy. Kapil Sharma wrote: Hi, I am using tomcat 3.3.1 and apache 1.3.26. I read a lot about how to disable a directory listing but nine of them works? Still directory index is enable in tomcat context. I am able to disable it by changing auto/mod_jk.conf file. How can I do it automatically when the tomcat starts. kapil -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat directory listing
Kapil Sharma wrote: Hi, I am using tomcat 3.3.1 and apache 1.3.26. I read a lot about how to disable a directory listing but nine of them works? Still directory index is enable in tomcat context. I am able to disable it by changing auto/mod_jk.conf file. How can I do it automatically when the tomcat starts. kapil -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Hi. Go to jakarta-tomcat path/conf/web.xml and change param-namelistings/param-nameparam-namefalse/param-name as shown here: servlet servlet-namedefault/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class init-param param-namedebug/param-name param-value0/param-value /init-param init-param param-namelistings/param-name param-valuefalse/param-value /init-param load-on-startup1/load-on-startup /servlet Best regards, Lars Nielsen Lind -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat Directory Listing
In the server.xml file change: RequestInterceptor className=org.apache.tomcat.request.StaticInterceptor debug=0 suppress=false / to specify: suppress=true This will turn off all directory listings. Larry -Original Message- From: Falk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 3:20 AM To: [EMAIL PROTECTED] Subject: Tomcat Directory Listing Hi, i'm using Tomcat3.2.1 standalone. Does anybody know how to deactivate the Directory Listing ? I mean if a browser requests a directory I don't want tomcat to send an overview of all the files contained in this directory. Thanks a lot. Falk