Perlbal
view release on metacpan or search on metacpan
lib/Perlbal/Manual/Plugins.pod view on Meta::CPAN
my Perlbal::ClientHTTPBase $cb = shift;
Inside your C<selector> function you can set which service to forward the request to like this:
my $service = Perlbal->service($service_name);
$service->adopt_base_client($cb);
return 1;
See L<Perlbal::Plugin::Vhosts> or L<Perlbal::Plugin::Vpaths> for examples on how to do this.
=head2 Known plugins
The following is a list of known plugins:
=over 4
=item * L<Perlbal::Plugin::AccessControl> (Perlbal core)
Basic access control based on IPs and Netmasks.
=item * L<Perlbal::Plugin::Addheader>
Add Headers to Perlbal webserver responses.
=item * L<Perlbal::Plugin::AutoRemoveLeadingDir> (Perlbal core)
Auto-removal of leading directory path components in the URL.
=item * L<Perlbal::Plugin::BackendHeaders>
See which backend served the request.
=item * L<Perlbal::Plugin::Cgilike> (Perlbal core)
Handle Perlbal requests with a Perl subroutine.
=item * L<Perlbal::Plugin::EchoService> (Perlbal core)
Simple plugin demonstrating how to create an add-on service for Perlbal using the plugin infrastructure.
=item * L<Perlbal::Plugin::ExpandSSL>
Add a custom header according to the SSL of a service.
=item * L<Perlbal::Plugin::FlvStreaming> (Perlbal core)
Enable FLV streaming with reverse proxy.
=item * L<Perlbal::Plugin::ForwardedFor>
Rename the X-Forwarded-For header in Perlbal.
=item * L<Perlbal::Plugin::Highpri> (Perlbal core)
Makes some requests high priority.
=item * L<Perlbal::Plugin::Include> (Perlbal core)
Allows multiple, nesting configuration files.
=item * L<Perlbal::Plugin::LazyCDN> (Perlbal core)
Support for Content Delivery Networks.
=item * L<Perlbal::Plugin::MaxContentLength> (Perlbal core)
Reject large requests.
=item * L<Perlbal::Plugin::NotModified> (Perlbal core)
Automatic 304 Not Modified responses when clients send a C<If-Modified-Since> header.
=item * L<Perlbal::Plugin::PSGI>
PSGI web server on Perlbal.
=item * L<Perlbal::Plugin::Palimg> (Perlbal core)
Plugin that allows Perlbal to serve palette altered images.
=item * L<Perlbal::Plugin::Queues> (Perlbal core)
Simple queue length header inclusion plugin.
=item * L<Perlbal::Plugin::Redirect> (Perlbal core)
Plugin to do redirecting in Perlbal land.
=item * L<Perlbal::Plugin::Stats> (Perlbal core)
Basic Perlbal statistics gatherer.
=item * L<Perlbal::Plugin::StickySessions>
Session affinity for Perlbal.
=item * L<Perlbal::Plugin::Throttle> (Perlbal core)
Throttle connections from hosts that connect too frequently.
( run in 1.285 second using v1.01-cache-2.11-cpan-0d23b851a93 )