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
Plack::Middleware::Reproxy(3) User Contributed Perl Documentation Plack::Middleware::Reproxy(3)

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

    # 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;
    }

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

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.

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.

2012-10-19 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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