You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Florian Schicker <fl...@bluebull.com> on 2003/03/06 22:26:24 UTC

URI Mapping Problem

Hi,

I have configured Tomcat (4.1) to work with Apache (1.3) through
JK2. For example, I can access the Tomcat examples using
http://myserver.com/examples. For another web application
such as tomcat-docs, http://myserver.com/tomcat-docs also
works if I add the following to the workers2.properties
file:

[uri:/tomcat-docs]
info=Tomcat docs context.
context=/tomcat-docs
debug=0

[uri:/tomcat-docs/*]
info=Map the whole Tomcat docs.
debug=0

Now, what I would like to do is to access the tomcat-docs
using another URL http://myserver.com/tomcat/docs. I've
tried the following but it doesn't work:

[uri:/tomcat/docs]
info=Tomcat docs context.
context=/tomcat-docs
debug=0

[uri:/tomcat/docs/*]
info=Map the whole Tomcat docs.
debug=0

I only found a new directive under
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html#ur
i
but the servlet= doesnt work for me :(

How to do that? Thanks!

Greetings,

Florian Schicker


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org