Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
No description, website, or topics provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
NAME Plack::App::CocProxy - proxy requests and replace by local file SYNOPSIS use Plack::App::CocProxy; Plack::App::CocProxy->new(root => 'files'); or you can use this like: $ twiggy -MPlack::App::CocProxy -e 'Plack::App::CocProxy->new(root=>".")->to_app' -p 5432 or you can use installed simple script: $ cocproxy # is same as above DESCRIPTION Plack::App::CocProxy arrogates requests and redirect to local file under rules based on request-URI. Example(root=>"."): http://example.com/ => ./index.html => ./example.com/index.html => (original url) http://example.com/foo/bar.html => ./bar.html => ./example.com/foo/bar.html => ./example.com/bar.html => ./foo/bar.html => (original url) AUTHOR cho45 <email@example.com> SEE ALSO Plack::App::Proxy, Plack::App::File, Plack LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.