catalyst+fastcgi+lighttpd

in your lighttpd conf add: fix-root-scriptname => "enable"

write app.psgi file in app root directory

use strict;
use lib './lib';
use app;
my $app = app->psgi_app(@_);

use Plack::Builder;
builder {
    enable "LighttpdScriptNameFix", script_name => "";
    $app;
};

Perl

这篇文章: 有用 无用
创建 2011-12-17 19:20:12 / 更新 2013-03-23 01:37:19