You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by dummy <le...@cmks.com.sg> on 2005/04/15 06:00:11 UTC

Directory listing

How can I disable both the apache and tomcat 5.5 from displaying the
directory of my web application ?


Re: Directory listing

Posted by Richard Reyes <ri...@gmail.com>.
What I do is put an access denied index.jsp on every subdirectories
inside the specific webapp folder.

heres my acc. deny index.jsp...

<html>
<head>
<title>Access Denied</title>
</head>
<body><h1>Access Denied</h1></body>
</html>

hth.
richard

On 4/15/05, dummy <le...@cmks.com.sg> wrote:
> 
> How can I disable both the apache and tomcat 5.5 from displaying the
> directory of my web application ?
> 
>

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