> From: Carl T. Dreher [mailto:[EMAIL PROTECTED] 
> Subject: How use the archives and a TomCat config question
> 
> I found the archives for this list, but it consists of about 
> 14K messages and no search mechanism.

Try this one:
http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2

The search mechanism seems quite effective.

> But how do I selectively ENABLE directory listing for 
> certain applications?

Turn off listings in the global web.xml, and add <servlet> and
<servlet-mapping> tags to the web.xml files of each app for which you
want listings.  For example:

  <servlet>
    <servlet-name>MyAppDefault</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>true</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>MyAppDefault</servlet-name>
    <url-pattern>/</url-pattern>
  </servlet-mapping>

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to