tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From August Detlefsen <augustd...@yahoo.com>
Subject RE: directory browsing
Date Tue, 29 Jan 2002 18:25:53 GMT
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 <a.brazhnyk@biconsulting.ws> wrote:
> Hi,
> 
> > -----Original Message-----
> > From: Charles N. Harvey III [mailto:charlieh@alloy.com]
> > 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: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>
> 


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

--
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