You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Julien OIX <ju...@presidence.univ-nantes.fr> on 2002/03/19 09:35:55 UTC

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>