I don't think FASTCGI will do what you want. Have a look at Jifty::Script::Fastcgi form Jesse Vincent and see what he did. I note that he doesnt try to pass a handler through - FASTCGI apparently cannot even call your CGI with command line parameters.