Re: Do not allow browsing the root directory to tomcat

2004-12-13 Thread inr
Hi, You can set the Directory listing to false in Web.xml file in order to avoid displaying Directory contents. Use the Param-name element to servlet servlet-namedefault/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class init-param

Do not allow browsing the root directory to tomcat

2004-12-12 Thread haimra
Hi All I am using tomcat 5.0.30 for a web application. Currently anyone can brows the Root directory of my application and server. For example by typing the url http://127.0.0.1/PrjectName/ Is their any way to avoid this? Making the user access the home page and then navigating and not seeing all