Ruby, fastcgi and lighttpd

hi,

i want to use lighttpd + ruby + fastcgi to build web apps. Not the entire RoR framework (for the present projects)

I can't seem to find a procedure to build this, in terms of system configuration, namely lighttpd's fastcgi configuration module: 10-fastcgi.conf

thanks in advance,

···

--
pedro mg
Debian Etch 4.0
ruby 1.8.5 (2006-08-25)

Check out this project http://ramaze.rubyforge.org/\. It doesn't come with a
ORM, but you could use ActiveRecord.

···

On 5/26/07, pedro mg <seti_out@tquadrado_out.com> wrote:

hi,

i want to use lighttpd + ruby + fastcgi to build web apps. Not the
entire RoR framework (for the present projects)

I can't seem to find a procedure to build this, in terms of system
configuration, namely lighttpd's fastcgi configuration module:
10-fastcgi.conf

thanks in advance,
--
pedro mg
Debian Etch 4.0
ruby 1.8.5 (2006-08-25)

You might want to take a look at rails fcgi_handler.rb for some inspiration.

which works with the following style of configuration inside a host block:

fastcgi.server = ( ".fcgi" =>
  ( "localhost" =>
    (
      "socket" => "path_to_your.socket",
      "bin-path" => "path_to_your/public/dispatch.fcgi",
      "bin-environment" => ( "RAILS_ENV" => "production" ),
      "min-procs" => 5,
      "max-procs" => 5,
      "idle-timeout" => 60
    )
  )
)

Hope this helps.

pedro mg wrote:

···

hi,

i want to use lighttpd + ruby + fastcgi to build web apps. Not the entire RoR framework (for the present projects)

I can't seem to find a procedure to build this, in terms of system configuration, namely lighttpd's fastcgi configuration module: 10-fastcgi.conf

thanks in advance,