=head1 NAME Perlbal::Manual::Selector - Configuring Perlbal as a virtual service that maps onto other services =head2 VERSION Perlbal 1.78. =head2 DESCRIPTION How to configure a Perlbal C service. =head2 READ ME FIRST Please read L first for a better explanation on how to configure Perlbal. This document will make much more sense after reading that. =head2 Configuring Perlbal as a Selector The C role allows you to create a service that selects to which other service a request should be sent to. Here's an example of how to do that with the help of L: LOAD vhosts CREATE SERVICE selector_service SET listen = 0.0.0.0:80 SET role = selector SET plugins = vhosts VHOST *.site1.com = service1 VHOST *.site2.com = service2 ENABLE selector_service In this case, requests to both C and C are received by C, which then sends requests for C to C and requests for C to C. Depending on your needs, you may want to use an existing plugin (e.g., L, L) or create your own (see C under L). =head2 SEE ALSO L, L, L, L, L.