James Tucker
5/27/2007 6:05:00 AM
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,