[users@httpd] JKMount based on URL query parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can anyone help me to get this to work?
Any thoughts would be greatly appreciated.

Regards,
  -Arun

-----Original Message-----
From: Govindarajulu, Arun 
Sent: Wednesday, May 04, 2005 7:04 PM
To: users@xxxxxxxxxxxxxxxx
Cc: Hirode, Kartheek V.
Subject: [users@httpd] JKMount based on URL query parameters

Hello,

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>

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

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?

Thanks,
  -Arun

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux