[Dancer-users] Running multiple apps with Plack::Builder

franck franck at lumberjaph.net
Thu Apr 21 22:06:37 CEST 2011


On Thu, Apr 21, 2011 at 8:58 PM, Nick Knutov <mail at knutov.com> wrote:

> /app1
> /app2
>
> # app1.pm (/app1)
> get '/' => {
>    redirect '/stage2';
> }
>
> for / will I get redirect to /stage2 or /app1/stage2 ?
>
>
/app1/stage2


>
> On 22.04.2011 0:45, franck wrote:
>
>> About your second question, which prefix are you talking about ? the one
>> where the application will be mounted ? (in my exemple: /app1 or /app2)
>> or the one used inside your application (if you have something like
>> 'load_app "bar", prefix => "/bar"') ?
>>
>
> --
> Best Regards,
> Nick Knutov
> http://knutov.com
> ICQ: 272873706
> Voice: +7-904-84-23-130
>



-- 

franck cuny

http://lumberjaph.net - http://github.com/franckcuny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110421/0086f586/attachment.htm>


More information about the Dancer-users mailing list