sukria/Dancer — Issue #741: Dancer::Deployment instructions for FastCGI are wrong
Author: cym0n
Created: 2012-02-11 15:27:00+00:00
State: open

Changing references from .cgi script to .fcgi script is not enough to make the application work with mod_fastcgi.
A FastCGIServer directive is needed:

FastCgiServer /%PATH_APPLICATIVO%/public/dispatch.fcgi -processes 3 -idle -timeout 5

The there is an alias for /

Alias / /%PATH_APPLICATIVO%/public/dispatch.fcgi/

And SetHandler in Directory node:

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order Allow,Deny
Allow from all
SetHandler fastcgi-script