404 error - lighttpd - Rails

Hello,

I just build lighttpd and all prerequisites (OSX). Lighttpd seems to
work fine on port 81, but my rails applications won’t run. I just
created a testapp and when I try to view the application environment
from the default page, I get a 404 error. I’m not sure how to fix this.
I couldn’t find anything special in the lighttpd or rails log(=empty).
When I run mongrel or webbrick, everything seems to be fine? I guess it
has something to do with the fcgi.

Can somebody point me in the right direction?

Here is my lighttpd.conf:

server.document-root = “/users/maartenporters/Desktop/webroot”

server.pid-file = “/usr/local/lighttpd/lighttpd.pid”

server.modules = (
“mod_rewrite”,
“mod_redirect”,
“mod_alias”,
“mod_access”,
“mod_fastcgi”,
“mod_simple_vhost”
)

fastcgi.server = ( “.fcgi” =>
( “localhost” =>
(
“min-procs” => 1,
“max-procs” => 5,
“socket” => “/tmp/railsapp.fcgi.socket”,
“bin-path” =>
“/users/maartenporters/Desktop/webroot/testapp/public/dispatch.fcgi”,
“bin-environment” => ( “RAILS_ENV” => “development” )
)
)
)

server.errorlog = “/usr/local/lighttpd/logs/lighttpd.error.log”

server.indexfiles = ( “index.html”, “index.htm”, “dispatch.fcgi” )

server.port = 81

And here is the last part of the lighttpd error log:

2008-02-01 13:45:30: (response.c.523) – file not found
2008-02-01 13:45:30: (response.c.524) Path :
/users/maartenporters/Desktop/webroot/testapp/public/rails/info/properties
2008-02-01 13:45:30: (response.c.114) Response-Header:
HTTP/1.1 404 Not Found
Content-Type: text/html
Content-Length: 345
Date: Fri, 01 Feb 2008 12:45:30 GMT
Server: lighttpd

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs