how to deny directory listing

2002-08-03 Thread Serdar BOZDA

hi,
I want to deny users to see the content of a folder under webapps\ROOT.

What should I do?

Thanks,

Serdar



Re: how to deny directory listing

2002-08-03 Thread rsequeira


There are various ways to deny directory listing.

Valid for both Tomcat 3.x and Tomcat 4.x.x:
You could add a welcome file to your web.xml. Something like this:
welcome-file-list
welcome-fileindex.html/welcome-file
  /welcome-file-list
See conf/web.xml for further information.

Valid for Tomcat 3.x only:
Look for the StaticInterceptor defn. in your server.xml. Set the supress
property to true when no welcome file is present.

Valid for Tomcat 4.x.x+:
Edit the init-param listings for the default servlet. Change the param
value to false.

RS




   

  Serdar BOZDAƐ  

  serdarbozdag@sofTo:   tomcatGroup 
[EMAIL PROTECTED]
  thome.net   cc: 

   Subject:  how to deny directory listing 

  08/03/02 06:24 AM

  Please respond to

  Tomcat Users

  List

   

   





hi,
I want to deny users to see the content of a folder under webapps\ROOT.

What should I do?

Thanks,

Serdar






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]