Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: IIS + Tomcat jk2 uri mapping

Rainer Jung

2006-12-08

Replies:

mod_jk2 is not supported any more. Actually this decision was done quite
some time ago. Most of the features of mod_jk2 have been ported to
mod_jk, which is still fully supported.

I don't know enough about mod_jk2, but in mod_jk you would prefix your
map with an exclamation mark "!" to make an exclusion rule out of it.

In the mod_jk uriworkermap.properties syntax you would write:

www.mydomain.com/*=MY_WORKER
!www.mydomain.com/stats/*=MY_WORKER

where MY_WORKER is your worker.

Regards,

Rainer

Low Kwok Leong schrieb:
> Hi all,
>
> We are using IIS5.0 as a web server and Tomcat 5.5.17 as application
> server, and jk2 to redirect request from IIS to Tomcat.
> Our application is hosted on www.mydomain.com which will default to
> www.mydomain.com/index.jsp.
> We also host AWStats for this domain as a virtual directory in IIS
> called stats, to be accessed as www.mydomain.com/stats/awstats.pl
>
> We have a problem in the mapping in jk2 workers properties uri mapping.
> As www.mydomain.com needs to default index.jsp, it has to be included in
> the mapping for Tomcat to process the request (as in
> [uri:www.mydomain.com/*]).
> However, AWStats is Perl which needs to be served by IIS.
>
> Is there a way to exclude certain mappings (in my case I need to exclude
> www.mydomain.com/stats/*)
>
> Thank you and regards,
> KL
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.