Aria Stewart
7/16/2005 6:18:00 PM
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