tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "t.n.a." <...@sharanet.org>
Subject Re: Directory listing
Date Mon, 18 Apr 2005 14:07:12 GMT
Darryl Wilburn wrote:

>For Tomcat...
>
>Change the "listings" parameter in the DefaultServlet
>to "false".  Don't know for Apache.
>  
>

Just wrapped up both problems myself: the listings parameter takes care 
of tomcat, and a .htaccess file takes care of apache:
$ cat .htaccess
Options -Indexes
$
Just place .htaccess in your root dir and you're ok.


Tomislav

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


Mime
View raw message