[Dancer-users] Deploying with Plack::Handler::Apache2

Dave Cross dave at dave.org.uk
Sat Jan 21 16:32:36 CET 2012


I was disappointed to read this in Dancer::Deployment:

   NOTE: Only a single Dancer application can be deployed using the
   Plack::Handler::Apache2 method. Multiple Dancer applications will not
   work properly (The routes will be mixed-up between the applications).

I've just installed my second Dancer app on the same Apache instance 
using Plack::Handler::Apache2 and I can confirm that the second app gets 
_very_ confused :/

I assume this is a Dancer limitation rather than a Plack one as I 
already also have a Catalyst app installed in the same Apache instance 
using Plack::Handler::Apache2.

So I was wondering how serious this limitation is? Is it something that 
could be fixed if a hacker (and, yes, I'm probably volunteering myself 
here) spent some time investigating the problem? Or is it a hard limit 
that we're never going to be able to work round?

Of course the answer I'd _really_ like is "oh, yes, that'll be fixed in 
Dancer 2.0" :-)

Cheers,

Dave...

-- 
Dave Cross :: dave at dave.org.uk
http://dave.org.uk/
@davorg


More information about the Dancer-users mailing list