You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kr...@BIT.admin.ch on 2003/08/14 16:23:03 UTC

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