tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Volatier" <martin.volat...@frontis.com>
Subject Jk2 connector - directives "context" and "servlet" for uri in workers2.properties
Date Thu, 06 Feb 2003 13:39:31 GMT

Hello all,

I have perused the archives of the tomcat-users mailing list, to no
avail. Here's my situation: Tomcat 4.1.18, Apache 1.3,
mod_jk2-ap13-2.0.1-1.2.1 on Redhat 7.2. I am trying to map a path or uri
in workers2.properties to a *different* servlet context in Tomcat's
server.xml, in vain so far.

>From the well known Tomcat server.xml example

<Context path="/examples" docBase="examples" debug="0" reloadable="true"
crossContext="true">
....
</Context>

What I'd like in my workers2.properties is something like

[uri:/expls]
context=/examples

Or 

[uri:/expls]
servlet=examples

But in these cases what I put as "context" or "servlet" is ignored
during the uri translation phase in jk2. The jk2.log file will tell me:

[Thu Feb 06 13:36:26 2003]  ( info) [mod_jk2.c (469)]:
mod_jk.translate(): uriMap /expls/ lb:lb

What I have in mind is to be able to map the empty path path to a
non-empty servlet context, so that I can have

http://myhost.com/ behave exactly like
http://myhost.com:8080/myServletContextPath

Has anybody done this before?

Thank you,

Martin


---------------------------------------------------------------------
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