# Lighttpd/fastcgi config - what does "the error-handler was n

**URL:** <https://www.ruby-forum.com/t/lighttpd-fastcgi-config-what-does-the-error-handler-was-n/74359>\
**Category:** Rails\
**Created:** [December 22, 2005, 8:50pm UTC](https://www.ruby-forum.com/t/lighttpd-fastcgi-config-what-does-the-error-handler-was-n/74359 "2005-12-22T20:50:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pergesu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/22d042/32.png) [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Post date:** [December 22, 2005, 8:50pm UTC](https://www.ruby-forum.com/t/lighttpd-fastcgi-config-what-does-the-error-handler-was-n/74359/1 "2005-12-22T20:50:42Z")

</div>

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