Pat Maddox
2005-Dec-22 19:47 UTC
Lighttpd/fastcgi config - what does "the error-handler was not found" mean?
I''m getting an error about not finding the error-handler. I
can''t
find anything of use in the production log.
2005-12-22 12:38:14: (connections.c.1383) Warning: Either the
error-handler returned status 404 or the error-handler itself was not
found: /dispatch.fcgi
2005-12-22 12:38:14: (connections.c.1385) returning the original status 404
2005-12-22 12:38:14: (connections.c.1387) If this is a rails app:
check your production.log
The config is:
$HTTP["host"] =~ "(www\.)?pregopoker\.com" {
server.port = 80
server.document-root =
"/home/pergesu/www/pregopoker.com/hhconv/public/"
server.error-handler-404 = "/dispatch.fcgi"
server.errorlog =
"/home/pergesu/logs/pregopoker.com/lighttpd-error.log"
accesslog.filename =
"/home/pergesu/logs/pregopoker.com/lighttpd-access.log"
server.indexfiles = ( "index.php", "index.html",
"index.htm", "default.htm"
)
url.rewrite = ( "^/$" => "index.html",
"^([^.]+)$" => "$1.html" )
fastcgi.server = (
".fcgi" => (
"pregopoker" => (
"socket" => "/var/lighttpd/pregopoker.socket",
"bin-environment" => ( "RAILS_ENV" =>
"production" ),
"bin-path" =>
"/home/pergesu/www/pregopoker.com/hhconv/public/dispatch.fcgi",
"max-load-per-proc" => 4,
"min-procs" => 1,
"max-procs" => 2,
"idle-timeout" => 60
)
)
)
}
