You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by rs...@transentric.com on 2002/03/19 18:52:53 UTC
RE: Directory browsing
Look for the "StaticInterceptor" defn. in your server.xml. Set the supress
property to "true".
Or better still you could add an index.hml file.
RS
"Shiva.Devaguptapu" <sh...@hbh.ilabsgroup.com> on 03/19/2002
05:02:36 AM
Please respond to "Tomcat Users List" <to...@jakarta.apache.org>
To: Tomcat Users List <to...@jakarta.apache.org>
cc:
Subject: RE: Directory browsing
Is there any similar way for Tomcat 3.2.3/3.2.4 to disable directory
browsing, while accessing via Apache 1.3.20? Thanks in advance for any
idea.
-----Original Message-----
From: Julien OIX [mailto:julien.oix@presidence.univ-nantes.fr]
Sent: Tuesday, March 19, 2002 2:06 PM
To: Tomcat list
Subject: Directory browsing
hi everyone,
I'm using Tomcat/Apache service;
in my default web.xml, located in $TOMCAT_HOME/conf, I've these lines:
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value> <!-- HERE it was true by
default
-->
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
so, directory browsing is forbidden by default;
Is this possible to specify in this file a directory under my webapp
directory which could be browsed ?
if not, in an other file ? but for the moment, I don't have any
$WEBAPP_HOME/WEB_INF/web.xml ...
thanks in advance
--
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: julien.oix@presidence.univ-nantes.fr
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>