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

Nick Knutov mail at knutov.com
Thu Apr 21 20:58:25 CEST 2011


/app1
/app2

# app1.pm (/app1)
get '/' => {
     redirect '/stage2';
}

for / will I get redirect to /stage2 or /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


More information about the Dancer-users mailing list