How to direct traffic based on URL

Brad Fitzpatrick brad at danga.com
Mon Sep 12 10:17:11 PDT 2005


You'll have to write a service selector plug-in, which isn't as scary as
it sounds.  Look at the Vhosts.pm plugin for virtual hosts (which
redirects to a different pool based on hostname), and change it to work on
the URLs that you want.

- Brad


On Mon, 12 Sep 2005, Max Michaels wrote:

> Howdy,
>
> I was just wondering if there is a good guide out there on how to
> redirect based upon what the URL is. For example, I want to direct any
> traffic that has /rss at the end of it to backend_server b and
> everything else to backend_server a. Thanks!
>
> -max
>
>


More information about the perlbal mailing list