<div dir="ltr"><div><div><div><div>Hello.<br><br></div></div>Although the general answer seems to be: &quot;<a href="https://github.com/PerlDancer/Dancer/issues/521">yes, with Dancer2 it&#39;s possible to run multiple applications on the same server</a>&quot;, I&#39;m not able to do it :-/<br>
<br></div>I&#39;m looking for the way to run 2 apps in <b>Dancer2</b> using <b>Plack::Handler::Apache2</b> without any trick as &quot;using a proxy to different web servers&quot;, or &quot;join two apps in one&quot;, 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>&lt;Location /app1&gt;<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>&lt;/Location&gt;<br><br></div>
# App2<br><div>&lt;Location /app2&gt;<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>&lt;/Location&gt;<br><br></div>
<div>Thanks a lot.<br></div><div>Peco<br></div></div>