tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric J. Pinnell" <e...@iCky.org>
Subject RE: uri mapping with mod_jk2
Date Thu, 14 Aug 2003 17:56:44 GMT
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: Krist.vanBesien@BIT.admin.ch [mailto:Krist.vanBesien@BIT.admin.ch]
> Sent: Thursday, August 14, 2003 10:23 AM
> To: tomcat-user@jakarta.apache.org
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>

Mime
View raw message