tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <>
Subject Re: Alias' and the like
Date Wed, 12 Jul 2006 18:43:09 GMT wrote:
> Hi,
>      I'd like to do JKMount /admin/* adminloadbalancer but  need the alias
> for /admin to point to /services/admin.
> I would be very grateful if someone could explain the best option...

Use mod_rewrite. You need to rewrite the incoming URL
on the fly, right?

RewriteEngine  on
RewriteRule    ^/examples/(.*)  /servlets-examples/$1  [PT]
JkMount /servlets-examples/* myworker

In your case it should be:
RewriteRule    ^/admin/(.*)  /services/admin/$1  [PT]
JkMount /services/admin/* adminloadbalance


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message