tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mladen.t...@jboss.com>
Subject Re: Alias' and the like
Date Wed, 12 Jul 2006 18:43:09 GMT
dhay@lexmark.com 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

Regards,
Mladen.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message