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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]