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@gmail.com> a écrit :_______________________________________________# App2I'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.Although the general answer seems to be: "yes, with Dancer2 it's possible to run multiple applications on the same server", I'm not able to do it :-/Hello.
Is it possible?. I thought Dancer2 had solved it (instead of Dancer1).
With the following configuration, I can only run one application correctly. 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>
<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@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________
dancer-users mailing list
dancer-users@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users