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" <[email protected]> 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 > [email protected] > http://lists.preshweb.co.uk/mailman/listinfo/dancer-users > >
_______________________________________________ dancer-users mailing list [email protected] http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
