tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: How to perform uri mapping with jk2
Date Mon, 14 Jul 2003 12:58:13 GMT

Actually, I see in another thread that mod_jk2 and mod_rewrite don't work 
well together, so you might be out of luck until the bug is fixed.  You 
could also try mod_jk instead...AFAIK, mod_jk and mod_rewrite work well 
together, though I don't use mod_rewrite.

John

On Mon, 14 Jul 2003 08:39:09 -0400, John Turner <tomcat- 
user@johnturner.com> wrote:

>
> mod_rewrite
>
> mod_jk isn't going to rewrite URLs for you.
>
> Alternatively, in Tomcat's server.xml:
>
> Context pathe="/def" docBase="abc"
>
> but then the URL in the address bar of the browser won't change.
>
> John
>
> On Mon, 14 Jul 2003 17:45:08 +0800, Kent Tong <kent@cpttm.org.mo> wrote:
>
>> Dear all,
>>
>> I'm using Tomcat 4.1.18, Apache 1.3.27 and mod_jk2-ap13-2.0.1-1jpp
>> on a RedHat 7.3 computer. I can access the web apps through Apache.
>> The problem is, I would like to make the web app page /abc/index.jsp
>> appear as /def/index.jsp to the browser. That is, I'd like jk2 to
>> redirect requests like /def/* to Tomcat as /abc/*. I've tried editing
>> workers2.properties:
>>
>> [uri:/def/*]
>> context=/abc/*
>>
>> But jk2 is still pass /def/* to Tomcat. How can I do that? Thanks
>> in advance!
>>
>
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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