From: Aredridel Date: 2005-07-17T03:18:12+09:00 Subject: Re: Ruby and Lighttpd/FastCGI On Sun, 2005-07-17 at 00:25 +0900, R端diger Sonderfeld wrote: > hi, > I'm trying to write a FastCGI script with Ruby and Lighttpd. > > I'm using ruby-fcgi 0.8.6, ruby 1.8.2 and lighttpd 1.3.11 (Ubuntu-Linux). > > I have setup lighttpd with the following parameters > fastcgi.server = (".rb" => > ( "localhost" => > ( "socket" => "/tmp/rb-fastcgi.socket" ) > ) > ) I always use lighttpd's spawn-fcgi tool for this -- skip the UnixServer bit in your ruby code, and just do the FCGI.each loop. Ari