httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Govindarajulu, Arun" <>
Subject [users@httpd] JKMount based on URL query parameters
Date Thu, 05 May 2005 01:04:07 GMT

I am trying to assign requests to specific tomcat workers based on query strings in the URL.

For example,

    http://localhost/abc/Team?name=xyz&location=NY should be assigned to worker1 and 
    http://localhost/abc/Team?name=xyz&location=NJ should be assigned to worker2

Is this possible? I tried the following, but it doesn't work.

    <LocationMatch /abc/Team*location=NY*>
       JkMount worker1

    <LocationMatch /abc/Team*location=NJ*>
       JkMount worker2

The LocationMatch directive takes a regular expression as an argument, but seem to match only
the path, and not the query parameters. If the context is different, then the mapping is straightforward,
but how to distinguish based on query strings.

Any ideas on how this can be achieved?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message