Atsushi Kobayashi
and 1 contributors

NAME

Perlbal::Plugin::UrlGroup - let URL match it in regular expression

SYNOPSIS

    in your perlbal.conf:

    LOAD UrlGroup
    CREATE SERVICE http_server
        SET listen          = 0.0.0.0:80
        SET role            = selector
        SET plugins         = UrlGroup
        GROUP_REGEX .(jpg|gif|png|js|css|swf)$ = _static
        GROUP_REGEX ^/app_s1/$ = _s1

        GROUP example.com = example
    ENABLE http_server
    
    CREATE SERVICE example
        SET role            = reverse_proxy
        SET pool            = example_pool
        SET enable_reproxy  = true
    ENABLE example
    
    CREATE SERVICE example_static
        SET role            = reverse_proxy
        SET pool            = example_static_pool
        #SET enable_reproxy  = true
    ENABLE example_static

DESCRIPTION

let URL match it in regular expression.

BUGS AND LIMITATIONS

No bugs have been reported.

AUTHOR

Atsushi Kobayashi <nekokak __at__ gmail dot com>

LICENCE AND COPYRIGHT

Copyright (c) 2010, Atsushi Kobayashi <nekokak __at__ gmail dot com>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.