You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mona Wong-Barnum <mo...@ncmir.ucsd.edu> on 2003/02/04 00:12:31 UTC

tomcat 4.1.18: disable default directory listing

Hi:
	I'm sure this has been asked many times before but I've searched all  
over the mail archives as well as google and did not find the answer I  
need...

	How do I disable directory listing?  I'm using tomcat 4.1.18 and I do  
not want to count on index.html or index.jsp.  Is there a way to do  
this from server.xml?

	Your patience and help is appreciated.

Sincerely,
Mona

************************************************************************ 
****
     "Your body is just a place that your memory calls home"
							- Deepak Chopra
************************************************************************ 
****


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: tomcat 4.1.18: disable default directory listing

Posted by David Boyer <da...@bvu.edu>.
If you want to disable this globally, look in $tomcat_home/conf/web.xml.

I believe this can also be done on a per-context basis in the web.xml file
of each application context.

----- Original Message -----
From: "Mona Wong-Barnum" <mo...@ncmir.ucsd.edu>
To: <to...@jakarta.apache.org>
Cc: <mo...@ncmir.ucsd.edu>
Sent: Monday, February 03, 2003 5:12 PM
Subject: tomcat 4.1.18: disable default directory listing


> Hi:
> I'm sure this has been asked many times before but I've searched all
> over the mail archives as well as google and did not find the answer I
> need...
>
> How do I disable directory listing?  I'm using tomcat 4.1.18 and I do
> not want to count on index.html or index.jsp.  Is there a way to do
> this from server.xml?
>
> Your patience and help is appreciated.
>
> Sincerely,
> Mona
>
> ************************************************************************
> ****
>      "Your body is just a place that your memory calls home"
> - Deepak Chopra
> ************************************************************************
> ****
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org