In web.xml look for this section, and make sure <param-name> listings
is false: 

  <servlet>
    <servlet-name>default</servlet-name>
   
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
    <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>


--- Anton Brazhnyk <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> > -----Original Message-----
> > From: Charles N. Harvey III [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 25, 2002 9:57 PM
> > To: Tomcat Users List
> > Subject: directory browsing
> > 
> > 
> > I now that Ishould be able to find this out for myself but...
> > I can't figure out how to turn off directory browsing.
> > I a single app or in tomcat in general.  I will keep searching
> > the docs but if someone could help me out I would be greatful.
> > 
> 
> A good place to start is CATALINA_HOME/conf/web.xml 
> (assuming you use TC4). Look at default servlet params.
> 
> > Charlie
> > 
> 
> Anton.
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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

Reply via email to