[dancer-users] Collision of multiple Dancer2 apps using Plack::Handler::Apache2
melo at simplicidade.org
Mon Sep 16 19:54:31 BST 2013
On Mon, Sep 16, 2013 at 7:34 PM, Celogeek San <me at celogeek.com> wrote:
> Use 2 differents plackup start script and listen to a socket. Then use
> apache or nginx as a proxy
That is what he was trying to avoid, and something that is said to be
supported on the docs (at least on the Dancer2::Cookbook) :)).
Yet, I think the documentation is misleading. What is supported is a single
server with multiple apps, so its a sort of layering: for each request you
test all the routes from all the apps.
What the poster was looking for was true virtual hosting of multiple
Dancer2 apps in the same process space, and that is still not supported
You can do it with plack::builder though…
Maybe creating a single App that uses Plack::Builder to split each app into
it's own vhost, and then use Apache2 with that single app?
xmpp:melo at simplicidade.org
mailto:melo at simplicidade.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dancer-users