[dancer-users] Collision of multiple Dancer2 apps using Plack::Handler::Apache2

Celogeek San me at celogeek.com
Mon Sep 16 19:34:32 BST 2013


Use 2 differents plackup start script and listen to a socket. Then use
apache or nginx as a proxy.
Le 16 sept. 2013 17:31, "Juan José 'Peco' San Martín" <jsanmartin at gmail.com>
a écrit :

> Hello.
>
> Although the general answer seems to be: "yes, with Dancer2 it's possible
> to run multiple applications on the same server<https://github.com/PerlDancer/Dancer/issues/521>",
> I'm not able to do it :-/
>
> I'm looking for the way to run 2 apps in *Dancer2* using *
> Plack::Handler::Apache2* without any trick as "using a proxy to different
> web servers", or "join two apps in one", etc.
>
> Is it possible?. I thought Dancer2 had solved it (instead of Dancer1).
>
> With the following configuration, I can only run one applicationcorrectly. If
> I start both, I have a mess ...
>
>  # App1
> <Location /app1>
>     SetHandler perl-script
>     PerlHandler Plack::Handler::Apache2
>     PerlSetVar psgi_app path_to_app1/bin/app.pl
> </Location>
>
> # App2
> <Location /app2>
>    SetHandler perl-script
>    PerlHandler Plack::Handler::Apache2
>    PerlSetVar psgi_app path_to_app2/bin/app.pl
> </Location>
>
> Thanks a lot.
> Peco
>
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20130916/269bff0e/attachment.htm>


More information about the dancer-users mailing list