You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Patterson <de...@hotmail.com> on 2005/01/26 10:33:41 UTC

Apache JK2 negative match

Hi,

I am trying to get Apache 2.0 to forward all requests to a load balanced Jetty
pair via mod_jk2 EXCEPT static resources such as .jpg files.

Has anyone done this?  

What I would like is some kind of negative match

<Location !~ "/.*\.(jpg|gif|css)">
  JkUriSet group ajp13:localhost:8009
</Location>

Of course this syntax does not exist!  But how else can I do it?

Thanks,

John


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org