Forum: Ruby on Rails Lighttpd/fastcgi config - what does "the error-handler was n

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Pat M. (Guest)
on 2005-12-22 21:50
(Received via mailing list)
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
     )
    )
  )
}
This topic is locked and can not be replied to.