tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <rey...@hugsmidjan.is>
Subject RE: how can I switch off the directory listing
Date Sun, 09 Dec 2001 19:52:13 GMT
yes.
by going into the /$tomcathome/conf/web.xml and changing the listings
attribute of the servlet configuration to false 

<--- cut from my web.xml -->
 <servlet>
    <servlet-name>default</servlet-name>
 
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-clas
s>
    <init-param>
      <param-name>debug</param-name>
      <param-value>0</param-value>
    </init-param>
    <init-param>
      <param-name>listings</param-name>
      <param-value>false</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>
<-- cut ends-->

hope it helps,

-reynir@hugsmidjan.is

-----Original Message-----
From: Daniel Knoll [mailto:knoll@netcoach-de.com]
Sent: 9. desember 2001 16:08
To: 'Tomcat Users List'
Subject: how can I switch off the directory listing


How can I switch off the directory listing in Tomcat4
 that the user can't be make this www.xyz.de/app/user1 and see what in
this
directory is.

has anybody an answer ?

daniel knoll

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message