when you get the 404 is it an apache style 404 or a tomcat style 404? On Thu, 14 Aug 2003, Madere, Colin wrote:
> Although I'm not a JK2 expert, this looks correct. It may be something with > the rest of your configuration. I know I am having success without using > explicit "worker" definitions. IOW, leaving jk2.properties as default > (nothing in it but comments) and leaving out the "worker=xxx" lines in > workers2.properties. > > You might post the rest of the JK2-related config files (or sections) so the > JK2 experts will answer :) > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 14, 2003 10:23 AM > To: [EMAIL PROTECTED] > Subject: uri mapping with mod_jk2 > > > Hello all, > > I have mod_jk2 loading correctly in apache2, and have the following in my > workers2.properties file: > > # Uri mapping > [uri:/examples/*] > worker=ajp13:localhost:8009 > > My problem is that when I try to get > > http://hostname/examples/ > I get the directory content from Tomcat, so that URL is forwarded correctly. > > But when I try to get > http://hostname/examples/jsp/index.html > I get an "not found" error from the apache server. From the apache logfiles > I get the impression that apache is not sending this to the Tomcat server. > When I try to get http://hostname:8080/examples/jsp/index.html (the port my > tomcat runs its http connector) I get the examples without much fusss... > > How do I solve this? I want every URL that starts with examples to be sent > to Tomcat... > > Krist > > > --- > Krist van Besien > Unix Specialist BZBD > Bundesamt f�r Informatik und Telekommunikation BIT Monbijoustrasse 74, > CH-3003 Bern Tel. +41 31 322 24 46 > > added interaction www.informatik.admin.ch > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
