NAME
Plack::Middleware::Proxy::RewriteLocation - Rewrites redirect headers
SYNOPSIS
use Plack::Builder;
use Plack::App::Proxy;
builder {
enable "Proxy::RewriteLocation";
Plack::App::Proxy->new(remote => "http://10.0.1.2:8080/")->to_app;
};
DESCRIPTION
Plack::Middleware::Proxy::RewriteLocation rewrites the Location
header in the response when the remote host redirects using its own headers, like mod_proxy's ProxyPassReverse
option.
AUTHOR
Tatsuhiko Miyagawa