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,

[EMAIL PROTECTED]

-----Original Message-----
From: Daniel Knoll [mailto:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to