Documentation
Kattare is dedicated to making your hosting experience as painless as possible.
That means making as much help and documentation available as possible.
If you have a question that you think would be helpful to have here, please
[Submit your Question].
|
|
| Category |
| JSP-Java Servlets |
|
Question
|
Last Modified: Jun 21, 2005
|
| How do I disable directory listings in Tomcat? |
| Answer |
|
If directory browsing is enabled, then anyone can see the contents
of directories that do not contain an index.html or index.jsp
file. To disable directory browsing, edit the file ~/conf/web.xml.
Change the value of the parameter "listings" in the servlet
named "default" from "true" to "false".
Don't forget to restart Tomcat after making the change!
|
[FAQ Main]
[Submit a Question]
[Back to Category "JSP-Java Servlets"]
|