Please help, the following is still unresolved:
==============================================
Would still like to do it the proper way though.
I know with Tomcat 3.2.x it was as simple as referencing the
RequestInterceptor component in server.xml:

    <RequestInterceptor
        className="org.apache.tomcat.request.StaticInterceptor"
        debug="0" suppress="true" />

So now for the HOWTO with Catalina.
Apparently the equevalent for the RequestInterceptor component is the Valve
component, but I'm not so clear on the implementation of this.
Anybody?

Gerrit

-----Original Message-----
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 13:15
To: 'Tomcat Users List'
Subject: RE: Catalina Directory Listing



Put an index.html file in each directory that redirects to the home page
using a META REFRESH of zero.  Not so elegant, but very simple and 100%
effective.

John


-----Original Message-----
From: Gerrit Grobbelaar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 5:48 AM
To: Tomcat Users List
Subject: Catalina Directory Listing

How must I configure Catalina (Tomcat 4.1.12) so that it doesn't show a
directory listing of the directories that don't have any welcome-files? The
Valve Component? How? etc.

Currently I have a weak sollution (IMHO):
Implementing "org.apache.catalina.servlets.DefaultServlet" and give it (via
web.xml):
<init-param>
  <param-name>listings</param-name>
  <param-value>false</param-value>
</init-param>
and then i just map that servlet to the directory/directories i don't want
to show a listing.

Thanks in advance
Gerrit

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

Reply via email to