[dancer-users] How do I mount a Dancer2 app tree with Plack::Builder?

Rik Brown rik at rikbrown.co.uk
Fri Mar 1 13:53:28 GMT 2013


Sounds like you really have two apps there, not one :)

Rik


On 1 March 2013 10:06, Peter Corrigan <peter.corrigan at nuigalway.ie> wrote:

> So can/will a single scoped Dancer2 app listen on multiple http ports
> with specific routes per port e.g. /search on 80 and /admin on 9000?
> Peter
> Peter Corrigan,
> Head of Organisational Development & Performance,
> James Hardiman Library,
> National University of Ireland, Galway.
> Tel +353-87-2798505
> peter.corrigan at nuigalway.ie
>
>
> On 1 March 2013 08:25, Alexis Sukrieh <sukria at gmail.com> wrote:
> > Nice catch, will look into that.
> >
> > Thanks
> >
> > --
> > Alexis, on the road
> >
> > Le 1 mars 2013 à 04:58, Punter <punter at punter.gr> a écrit :
> >
> >> I followed this tutorial http://advent.perldancer.org/2012/7 and built
> a very small but structured Dancer2 application.
> >>
> >> Now I would like to mount it as a PSGI application with Plack::Builder.
> What do I have to do?
> >>
> >> This here app.psgi configuration definitely doesn't work:
> https://metacpan.org/module/SUKRIA/Dancer2-0.02/lib/Dancer2/Deployment.pod#Running-multiple-apps-with-Plack::Builder(it was probably built for Dancer1)
> >>
> >> Thank you
> >> _______________________________________________
> >> dancer-users mailing list
> >> dancer-users at dancer.pm
> >> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
> >>
> > _______________________________________________
> > dancer-users mailing list
> > dancer-users at dancer.pm
> > http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20130301/ad3a0260/attachment.htm>


More information about the dancer-users mailing list