[Dancer-users] Rebasing an application

Flavio Poletti polettix at gmail.com
Wed Feb 9 02:54:09 CET 2011


Hi,

   I'm working on a module for rebasing Dancer applications. In short, it
manipulates various $env components to make the request appear as coming to
a different host and path, in order to address various problems that I
encounter when I deploy the application behind a reverse proxy.

It is implemented as a Plack middleware (inspired by
Plack::Middleware::ReverseProxy but with a different approach) and I'd like
some feedback about the module name. My idea is to call it
Dancer::Middleware::Rebase, following the suggestions in
http://advent.plackperl.org/2009/12/day-23-write-your-own-middleware.html

Thoughts?

Cheers,

   Flavio.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110209/a189178a/attachment.htm>


More information about the Dancer-users mailing list