<div dir="ltr"><div><div><div><div>Hello.<br><br></div></div>Although the general answer seems to be: "<a href="https://github.com/PerlDancer/Dancer/issues/521">yes, with Dancer2 it's possible to run multiple applications on the same server</a>", I'm not able to do it :-/<br>
<br></div>I'm looking for the way to run 2 apps in <b>Dancer2</b> using <b>Plack::Handler::Apache2</b> without any trick as "using a proxy to different web servers", or "join two apps in one", etc.<br>
<br><span id="result_box" class="" lang="en"><span class="">Is it possible</span><span class="">?</span><span>.</span> <span class="">I thought</span> <span class="">Dancer2</span><span></span> <span class="">had solved it</span> <span class="">(instead of</span> <span class="">Dancer1</span><span class="">)</span><span class="">.</span></span><br>
<br><span id="result_box" class="" lang="en"><span class="">With</span> <span class="">the following configuration</span><span>, I can only run</span> <span class="">one application</span><span> correctly.</span> <span class="">If I</span> <span class="">start</span> <span class="">both</span><span>,</span> <span class="">I have</span> <span class="">a mess</span> <span class="">...</span></span><br>
<br> # App1<br><Location /app1><br> SetHandler perl-script<br> PerlHandler Plack::Handler::Apache2<br> PerlSetVar psgi_app path_to_app1/bin/<a href="http://app.pl">app.pl</a><br></Location><br><br></div>
# App2<br><div><Location /app2><br> SetHandler perl-script<br> PerlHandler Plack::Handler::Apache2<br> PerlSetVar psgi_app path_to_app2/bin/<a href="http://app.pl">app.pl</a><br></Location><br><br></div>
<div>Thanks a lot.<br></div><div>Peco<br></div></div>