in your tomcat_home/conf/web.xml find
servlet
servlet-namedefault/servlet-name
servlet-class
org.apache.catalina.servlets.DefaultServlet
/servlet-class
init-param
param-namedebug/param-name
param-value0/param-value
Add
init-param
param-namelistings/param-name
param-valuefalse/param-value
/init-param
to the %CATALINA_HOME%/conf/web.xml file.
Robert S. Harper
Senior Engineer
Information Access Technology, Inc.
1100 East 6600 South
Suite 300
Salt Lake City, Utah USA
Hi Gabriel,
Am Dienstag, 17. Mai 2005 20:28 schrieb Gabriel Belingueres:
Hi,
I need to deny the access to my web app's directory listing in
Tomcat 4.1.x.
How do I do that?
TIA,
Gabriel
I don't have running Tomcat 4.1 here to have a look at the web.xml but
in Tomcat 5+, you can add the