Zack Chandler
2006-Feb-02 21:01 UTC
[Rails] FYI lighttpd 1.4.9 has problems running with rails out-of-the-box
In case this helps anyone I recently finished setting up a Debian server closely following Ezra''s excellent guidance @ http://brainspl.at/rails_stack.html. I used newer libraries in some cases (and mysql 5.0) and everything worked great until the end when lighttpd wouldn''t start. I finally figured out that Lighty 1.4.9 has a problem working with rails out-of-the-box. See ticket http://trac.lighttpd.net/trac/ticket/487 for more info. Maybe this will help someone else... and thanks Ezra! Zack
Ezra Zygmuntowicz
2006-Feb-02 23:59 UTC
[Rails] FYI lighttpd 1.4.9 has problems running with rails out-of-the-box
On Feb 2, 2006, at 1:01 PM, Zack Chandler wrote:> In case this helps anyone I recently finished setting up a Debian > server > closely following Ezra''s excellent guidance @ > http://brainspl.at/rails_stack.html. > > I used newer libraries in some cases (and mysql 5.0) and everything > worked > great until the end when lighttpd wouldn''t start. I finally > figured out > that Lighty 1.4.9 has a problem working with rails out-of-the-box. > See > ticket http://trac.lighttpd.net/trac/ticket/487 for more info. > > Maybe this will help someone else... and thanks Ezra! > > ZackZack- Thanks for the kind words. I need to update a few things in that tutorial ;) But you are correct, in lighttpd1.4.9 you need the full path to the public folder and the dicpatch.fcgi. The script/serer command generates a lighttpd.conf file in RAILS_ROOT/config/ lighttpd.conf that uses relative paths. I think there is a ticket for this somewhere but for now you need to manually edit the config file after it gets generated the first time and add the full paths to your stuff. Cheers- -Ezra Zygmuntowicz Yakima Herald-Republic WebMaster http://yakimaherald.com 509-577-7732 ezra@yakima-herald.com