Daisuke Maki
and 1 contributors

NAME

Plack::Middleware::Reproxy - Handle X-Reproxy-URL From Within Plack

SYNOPSIS

    # Use Furl
    builder {
        enable 'Reproxy::Furl';
        $app;
    }

    # or if you want your custom reproxy
    builder {
        enable 'Reproxy::Callback', cb => sub {
            my ($middleware, $res, $env, $uri) = @_;
            ....
        };
        $app;
    }

DESCRIPTION

Plack::Middleware::Reproxy implements a simple reproxy mechanism via X-Reproxy-URL, like https://github.com/kazuho/mod_reproxy.

DISCLAIMER

This module was developed for TESTING, and so has not been extensively used in real environments. If you need real reproxying, you should probably use that of lighttpd, nginx, apache+mod_reproxy, etc.

AUTHOR

Daisuke Maki daisuke@endeworks.jp

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.0 or, at your option, any later version of Perl 5 you may have available.