On 7/5/05, vishwam [EMAIL PROTECTED] wrote:
hi,
iam using tomcat5.0, I have developed a web application on my server and I
want to deny directory listing in tomcat so that if any one types even
http://localhost:8080 it should deny the listings.
I tried by changing in
web.xml listings
-on-startup
/servlet
Listing : false
Regards
Guru
-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED]
Sent: 05 July 2005 11:55
To: Tomcat Users List
Subject: Re: deny directory listing in tomcat
On 7/5/05, vishwam [EMAIL PROTECTED] wrote:
hi,
iam using tomcat5.0, I
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