tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: possibly off topic: workers2.properties question
Date Wed, 18 Jun 2003 03:27:49 GMT
If your version of Jk2 is recent enough, and was compiled with the Apache
regex library, then you should be able to do:
[uri:!/app/*.gif]

(of course you can always get more clever with regexps ;-).
I haven't actually tried it myself, but I'm told that it does work.

"Mark Eggers" <its_toasted@yahoo.com> wrote in message
news:20030617151624.31115.qmail@web41510.mail.yahoo.com...
> Steve,
>
> You would single out what you wish to have Tomcat
> handle, and then Apache would handle the rest.
>
> For example:
>
> [uri:/app/*.jsp]
> worker=ajp13:localhost:8009
>
> [uri:/app/servlet/*]
> worker=ajp13:localhost:8009
>
> would send all files ending in .jsp and all files
> underneath the /app/servlet uri to Tomcat.  Everything
> else underneath the /app uri would be served by
> Apache.
>
> Theoretically it is possible to be more fine-grained
> with perl-compatible regular expressions, but I've not
> experimented with this.
>
> HTH
>
> /mde/
> just my two cents . . . .
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com




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