views:

18

answers:

1

I need to balance traffic to several HTTP listeners. They are in two groups for two different purposes. To illustrate...

    10.0.0.1    10.0.1.1 10.0.1.2 10.0.2.1 10.0.2.2
 -------+-----------+--------+--------+--------+---
        |           |        |        |        |
     +--+--+      +-+-+    +-+-+    +-+-+    +-+-+ 
     | LB1 |      | A |    | B |    | C |    | D |
     +-----+      +---+    +---+    +---+    +---+
     balance                 4 web servers

I want LB1 to spray URL pattern http://10.0.0.1/tox/* to either web server A or B, and LB1 to spray URL pattern http://10.0.0.1/* to either web server C or D.

I have used pen to load balance successfully, but it does not offer this URL pattern matching feature.

Is there something as simple and robust as pen out there that can also do URL pattern matching?

A: 

Answered at Server Fault.

dacracot