<div dir="ltr"><div>Sounds like you really have two apps there, not one :)<br><br></div>Rik<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 1 March 2013 10:06, Peter Corrigan <span dir="ltr">&lt;<a href="mailto:peter.corrigan@nuigalway.ie" target="_blank">peter.corrigan@nuigalway.ie</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So can/will a single scoped Dancer2 app listen on multiple http ports<br>
with specific routes per port e.g. /search on 80 and /admin on 9000?<br>
Peter<br>
<span class="HOEnZb"><font color="#888888">Peter Corrigan,<br>
Head of Organisational Development &amp; Performance,<br>
James Hardiman Library,<br>
National University of Ireland, Galway.<br>
Tel <a href="tel:%2B353-87-2798505" value="+353872798505">+353-87-2798505</a><br>
<a href="mailto:peter.corrigan@nuigalway.ie">peter.corrigan@nuigalway.ie</a><br>
</font></span><div class="im HOEnZb"><br>
<br>
On 1 March 2013 08:25, Alexis Sukrieh &lt;<a href="mailto:sukria@gmail.com">sukria@gmail.com</a>&gt; wrote:<br>
&gt; Nice catch, will look into that.<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; --<br>
&gt; Alexis, on the road<br>
&gt;<br>
&gt; Le 1 mars 2013 à 04:58, Punter &lt;<a href="mailto:punter@punter.gr">punter@punter.gr</a>&gt; a écrit :<br>
&gt;<br>
</div><div class="HOEnZb"><div class="h5">&gt;&gt; I followed this tutorial <a href="http://advent.perldancer.org/2012/7" target="_blank">http://advent.perldancer.org/2012/7</a> and built a very small but structured Dancer2 application.<br>

&gt;&gt;<br>
&gt;&gt; Now I would like to mount it as a PSGI application with Plack::Builder. What do I have to do?<br>
&gt;&gt;<br>
&gt;&gt; This here app.psgi configuration definitely doesn&#39;t work: <a href="https://metacpan.org/module/SUKRIA/Dancer2-0.02/lib/Dancer2/Deployment.pod#Running-multiple-apps-with-Plack::Builder" target="_blank">https://metacpan.org/module/SUKRIA/Dancer2-0.02/lib/Dancer2/Deployment.pod#Running-multiple-apps-with-Plack::Builder</a> (it was probably built for Dancer1)<br>

&gt;&gt;<br>
&gt;&gt; Thank you<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; dancer-users mailing list<br>
&gt;&gt; <a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>
&gt;&gt; <a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
&gt;&gt;<br>
&gt; _______________________________________________<br>
&gt; dancer-users mailing list<br>
&gt; <a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>
&gt; <a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
_______________________________________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
</div></div></blockquote></div><br></div>