Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polettix/dancer-middleware-rebase
A Plack middleware to be used for Dancer
https://github.com/polettix/dancer-middleware-rebase
Last synced: about 1 month ago
JSON representation
A Plack middleware to be used for Dancer
- Host: GitHub
- URL: https://github.com/polettix/dancer-middleware-rebase
- Owner: polettix
- Created: 2011-02-13T23:13:51.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-02-13T23:23:10.000Z (almost 14 years ago)
- Last Synced: 2024-10-27T12:33:05.893Z (3 months ago)
- Language: Perl
- Homepage:
- Size: 102 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
NAME
====Dancer::Middleware::Rebase - a Plack middleware to be used for Dancer
SYNOPSIS
========In your config.yml configuration file for Dancer:
plack_middlewares:
-
- "+Dancer::Middleware::Rebase"
- base
- "http://example.com/app"
- strip
- 1Now all the requests will appear as coming as directed towards
`http://example.com/app`, where `app` can be optionally stripped away
so that routes don't have to consider it.Please note that you have to put a plus sign before the module name,
otherwise Plack will think that it is a name to be referred to the
Plack::Middleware namespace.ALL THE REST
============Want to know more? [See the module’s documentation](http://search.cpan.org/perldoc?Dancer::Middleware::Rebase) to figure out
all the bells and whistles of this module!Want to install the latest release? [Go fetch it on CPAN](http://search.cpan.org/dist/Dancer-Middleware-Rebase/).
Want to contribute? [Fork it on GitHub](https://github.com/polettix/Dancer-Middleware-Rebase).
That’s all folks!