selecting reproxy pool to use based on request_uri

Todd Lipcon todd at
Tue Oct 9 16:17:30 UTC 2007

Hi Brett,

I've pasted the URL matching selector plugin we use at Amie Street here:

Example config:

   SET listen =
   SET role =            selector
   SET plugins =         urlregexp
   SET persist_client =  on

   URL_REGEXP 100 ^/cgi-bin/ = cgi_service
   URL_REGEXP 100 ^/static/ = static_service
   URL_REGEXP 0 . =  balancer
ENABLE selector

where cgi_service and static_service are reverse_proxy roles

Not sure how this compares to Jonty's -- would be interesting to compare

Hope that helps

On Tue, 9 Oct 2007, Brett Hoerner wrote:

> On Oct 7, 2007, at Oct7, 9:07:14AM, Jonty wrote:
>> Right, I'll try to make it available early this week when I'm back in
>> the office.
> Just doing a quick ping to make sure it didn't slip anyones' mind over the 
> weekend.  I absolutely don't mean for this to be rude!  Much appreciated when 
> you have the time.  :)
> Regards,
> Brett

More information about the perlbal mailing list