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;
};

这篇文章: 有用 无用