Setup problem, every request trys to download dispatch.fcgi

Has anyone ever seen it where every request tries to download a fcgi
file but marked as a .rb file?

Im running LightTPD 1.4, Ruby 1.8.4, FastCGI.

The lighty config is…

var.basedir = “/var/www/sites/”

$SERVER[“socket”] == “101.0.0.171:80” {

var.servername = “stage.butlerandtanner.com

server.document-root = basedir + servername + “/public/”

rewrite rules for rails

url.rewrite = ( “^/$” => “index.html”, “^([^.]+)$” => “$1.html” )
server.error-handler-404 = “/dispatch.fcgi”

fastcgi.server = (
basedir + servername + “/public/dispatch.fcgi” =>
( “localhost” =>
( “socket” => basedir + servername + “/tmp/sockets/fcgi.socket”,
“min-procs” => 2,
“max-procs” => 4,
“max-load-per-proc” => 2,
“bin-path” => basedir + servername + “/public/dispatch.fcgi”,
“bin-environment” => ( “RAILS_ENV” => “production” )
)
)
)

}

The dispatch.fcgi is chmod to 755

Any suggestions would be greatly appreciated. Also, im getting this
error in the server log…

(mod_fastcgi.c.1739) connect failed: Connection refused on
unix:/var/www/sites/stage.butlerandtanner.com/tmp/sockets/fcgi.socket-1
2006-05-26 09:13:24: (mod_fastcgi.c.2851) backend died, we disable it
for a 5 seconds and send the request to another backend instead:
reconnects: 5 load: 1

Many thanks in Advance!

Tim