Hi,

Apache 5.5.9 with Apache 2 and mod_jk.

Some files in /download/files.

If i do not configure any servlet mapping for this path, the files in this folder are delivered. I assume org.apache.catalina.servlets.DefaultServlet is invoked.

If i do configure a servlet mapping, that maps org.apache.catalina.servlets.DefaultServlet to be invoked for requests to /download/files/* a 404 is raised for all files like http://my.server.com/download/files/afile.ext

Where's the difference? Is it another servlet than DefaultServlet that serves static content by default? Does the DefaultServlet need any runtime configuration?

I copied catalina.jar to webapps/my-webapp/lib to have access to org.apache.catalina.servlets.DefaultServlet. Therefore the DefaultServlet instance i'm using probably is not the one that is loaded during startup.

I would like to derive a servlet from DefaultServlet that does some authorization checks before proceeding to delivery.

Thanks for your help!

Dirk



--
________________________________________________________

LuraTech GmbH
Kantstr.21, 10623 Berlin, Germany
fon: +49(0)30/39 40 50 - 0
fax: +49(0)30/39 40 50 - 99

http://www.luratech.com
mailto:[EMAIL PROTECTED]
________________________________________________________

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

Reply via email to