[Dancer-users] Problems mounting multiple webapps

Alex Kalderimis alex at flymine.org
Sun Jun 12 00:33:40 CEST 2011


If anyone is interested, I was able to get three instances of the same
app mounted successfully, but I had to additionally specify the 'views'
and 'public' settings, as below:

>  set views       => $view_dir;
>  set public      => 'public';

The full psgi script is here: http://pb.rbfh.de/23RCNzXyqIiJb

Cheers

On Fri, 2011-06-10 at 20:21 +0100, Alex Kalderimis wrote:
> I've been having some issues mounting multiple webapps on a single Plack
> server according to the documentation
> (http://search.cpan.org/dist/Dancer/lib/Dancer/Deployment.pod). 
> 
> After reading through the source a bit I managed to get my content
> served, but the static files are all being handled by the route
> handlers. It seems that somewhere down the line the 'public' setting is
> going undef, along with all others presumably.
> 
> Anyway, the log messages I get are here:
> http://paste.perldancer.org/29wzxHG7VkVoW,
> 
> And the psgi I'm using is here: http://paste.perldancer.org/OntvcvVUSY7k
> 
> Any help or suggestions would be greatly appreciated.
> 




More information about the Dancer-users mailing list