GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PERLBAL::MANUAL::SELECTOR (3)

.ds Aq ’

NAME

Perlbal::Manual::Selector - Configuring Perlbal as a virtual service that maps onto other services

    VERSION

Perlbal 1.78.

    DESCRIPTION

How to configure a Perlbal selector service.

    READ ME FIRST

Please read Perlbal::Manual::Configuration first for a better explanation on how to configure Perlbal. This document will make much more sense after reading that.

    Configuring Perlbal as a Selector

The selector 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 Perlbal::Plugin::VHosts:



    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 site1 and site2 are received by selector_service, which then sends requests for site1 to service1 and requests for site2 to service2.

Depending on your needs, you may want to use an existing plugin (e.g., Perlbal::Plugin::Vhosts, Perlbal::Plugin::VPaths) or create your own (see selector under Perlbal::Manual::Plugins).

    SEE ALSO

Perlbal::Manual::Configuration, Perlbal::Manual::Management, Perlbal::Manual::Plugins, Perlbal::Plugin::Vhosts, Perlbal::Plugin::VPaths.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PERLBAL::MANUAL::SELECTOR (3) 2011-01-23

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.