Mailing List Archive

balancing based on querystring
Hi there,

Im trying to balance traffic based on an specific variable located on the
querystring requested. for example,

if the request is :

foo.com/whocares.php?a=111&b=222 goes to machine 1
foo.com/whocares.php?a=111&b=333 goes to machine 2
...

do i need to use myu own candi function for this...?
do i need to install mod_backhand on every node if im gonna make the chooice
based on the request?

Thanks in advance,

N4
n4hum@hotmail.com



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
balancing based on querystring [ In reply to ]
On Thursday, July 11, 2002, at 12:33 PM, Nahum Rosinsky wrote:

> Hi there,
>
> Im trying to balance traffic based on an specific variable located on
> the querystring requested. for example,
>
> if the request is :
>
> foo.com/whocares.php?a=111&b=222 goes to machine 1
> foo.com/whocares.php?a=111&b=333 goes to machine 2
> ...
>
> do i need to use myu own candi function for this...?

Yes, it should be like 5 lines of c.

> do i need to install mod_backhand on every node if im gonna make the
> chooice based on the request?

Yes.

// George Schlossnagle
// Principal Consultant
// OmniTI, Inc http://www.omniti.com
// (c) 240.460.5234 (e) george@omniti.com
// 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0
balancing based on querystring [ In reply to ]
Nahum Rosinsky wrote:

> Hi there,
>
> Im trying to balance traffic based on an specific variable located on
> the querystring requested. for example,
>
> if the request is :
>
> foo.com/whocares.php?a=111&b=222 goes to machine 1
> foo.com/whocares.php?a=111&b=333 goes to machine 2
> ...

So, how did you get from those query strings to machine 1 and machine 2?
222 means machine1 and 333 means machine 2?

>
> do i need to use myu own candi function for this...?

Yes.

>
> do i need to install mod_backhand on every node if im gonna make the
> chooice based on the request?

Yes.

--
Theo Schlossnagle
Principal Consultant
OmniTI Computer Consulting, Inc. -- http://www.omniti.com/
Phone: +1 301 776 6376 Fax: +1 410 880 4879
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7