Help with rails lighttpd setup

Hi everyone -

I am running Rails on a Cent OS server that we access via remote. I do not want to set
up a virtual server, rather have this server run on port 8080 so as not to disturb Apache
running on port 80.

My config is below, but when I try to run a Rails app I get 404 errors. The initial Rails
screen comes up, but if I create a sample app in the directory below I get 404 errors.
I am hoping it is something as simple as a path is wrong and my tired eyes.

Thank you in advance!

-Scott

server.modules = (
                                "mod_rewrite",
        "mod_redirect",
                                 "mod_access",
                                 "mod_fastcgi",
                                 "mod_accesslog" )

server.document-root = "/home/rails/test/public/"
server.errorlog = "/var/log/lighttpd.error.log"
index-file.names = ( "index.html",
                                 "index.htm", "default.htm" )
server.error-handler-404 = "/dispatch.fcgi"
  #rails stuff
  ######fastcgi module
fastcgi.server = (
     ".fcgi" => (
  "test" => (
         "socket" => "/tmp/test1.socket",
         "bin-path" => "/home/rails/test/public/dispatch.fcgi",
  "bin-environment" => ( "RAILS_ENV" => "production" ),
         "min-procs" => 1,
         "max_procs" => 2
       )
   )
)
#### accesslog module
accesslog.filename = "/var/log/lighttpd_access.log"

url.access-deny = ( "~", ".inc" )

$HTTP["url"] =~ "\.pdf$" {
   server.range-requests = "disable"
}

Hi Stephen-

All my error.log file contains is server shutdown, no mention about
missing paths.

-Scott

I also just checked my log files in /home/rails/test/log and all of
them are 0 bytes. Could I have a permission
problem?

The lighttpd.error.log is nothing but server start and server stop.

Thanks!

Thanks for your help, I ended up installing mongrel with Apache and
it works like a charm.

-Scott