oblongman wrote:
Hi,

I am having problems implementing my uriworkermap file.

I want to exclude all '.js' files from hitting tomcat, i do this with the
line

!/*.js=tomcat

But i do want to send all '.js' files that live under "dwr/" to tomcat so i
use

/dwr/*=tomcat

The issue is that tomcat deals with exclusions last and hence overrides my
dwr rule and tomcat doesn't accept any .js files.

Is there any way around this?


Yes, make explicit deny rules.
It would require some typing, but probably less
amount then it was needed for typing this.

So instead !/*.js=worker use:
!/app1/*.js=worker
!/app2/*.js=worker
...
!/appN/*.js=worker

Regards,
Mladen.

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

Reply via email to