The mod_jk auto-configuration written by Tomcat 3.2.x doesn't support including servlet mappings in the mod_jk.conf-auto. However, this is supported in Tomcat 3.3. The default behavior in Tomcat 3.3 is to generate the conf/auto/mod_jk.conf so that all requests to a context are mapped to Tomcat. To write a 3.2.x like config where Apache would serve static content, you add:
forwardAll="false" to the <ApacheConfig> element in server.xml. The <ApacheConfig> element allows control over a number of other characteristics of the generated mod_jk.conf as well. For details, see: <http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html#ApacheConfig> Cheers, Larry > -----Original Message----- > From: Elm Gysel [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 12, 2001 5:14 AM > To: [EMAIL PROTECTED] > Subject: web.xml extension mapping > > > hello, > > I'm currently using Tomcat 3.2.2 with Apache and i'm trying > to map *.pdf to the Tomcat engine. > I'm using mod_jk. > Since this is version 3.2.2 the mod_jk.conf-auto file gets > generated automaticly when tomcat starts. > > I've added these lines to my WEB-INF/web.xml file : > > (partial file) > > <servlet> > <servlet-name> > PDFCreator > </servlet-name> > <servlet-class> > com.nihisoft.odm.servlet.PDFCreator > </servlet-class> > </servlet> > <servlet-mapping> > <servlet-name> > PDFCreator > </servlet-name> > <url-pattern> > *.pdf > </url-pattern> > </servlet-mapping> > > now when I run Tomcat and the mod_jk.auto-conf file gets > generated the mapping doesn't seem to be done in > mod_jk.auto-conf. Am I missing something? > > Thanks for any help! > > Elm > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>