[dispatch.cgi] #!C:\Perl\bin\perl.exe use Plack::Runner; Plack::Runner->run('C:\Projects\Perl\Web\mywebapp/app.psgi'); The path separators should all go one way.... Looking at dispatch.fcgi ... it has the same "problem". So I imagine that is an assumption that "dancer" is making when creating the skeleton structure. Robert
[dispatch.cgi] #!C:\Perl\bin\perl.exe use Plack::Runner; Plack::Runner->run('C:\Projects\Perl\Web\mywebapp/app.psgi');
The path separators should all go one way....
Looking at dispatch.fcgi ... it has the same "problem". So I imagine that is an assumption that "dancer" is making when creating the skeleton structure.
There is a module for that: File::Spec . Nick
On Mon, Jan 10, 2011 at 8:12 PM, sigzero <sigzero@gmail.com> wrote:
[dispatch.cgi] #!C:\Perl\bin\perl.exe use Plack::Runner; Plack::Runner->run('C:\Projects\Perl\Web\mywebapp/app.psgi');
The path separators should all go one way....
Looking at dispatch.fcgi ... it has the same "problem". So I imagine that is an assumption that "dancer" is making when creating the skeleton structure.
Dancer doesn't generate an app.psgi file since a few version, but instead only a 'bin/app.pl' script. When a dispatch.(f)cgi file is build, the path is correctly set. This is an old and resolved issue. sorry for the inconvenience
participants (3)
-
franck -
Nick Hibma -
sigzero