[Nitro] SCGI

Fabian Buch fabian at oggu.de
Fri Sep 16 14:22:07 EDT 2005

SCGI seems not a replacement of CGI or FastCGI. I couldn't find any 
info about ACGI.

In scgi Apache (or whatever webserver) connects to a scgi-server, which 
must already run when a user visits the site. That means for such a 
webapp to run I need open a terminal and start a scgi-server manually. 
In cgi or fastcgi Apache does that for me, just as needed.
A side effect of this is, that if my scgi-server or my webapp has a bug 
that crashes the scgi-server it's not reachable anymore, since it won't 
be restarted automatically by Apache, it'd have to be restarted 

That's how I understand the situation. So for me only CGI and FastCGI 
(and maybe mod_ruby) are useful for production environments (not 
started via ruby --apache run.rb, but via Apache itself).

Since I've everything running in Rails so far there's no need for me to 
hurry you to implement it into Nitro. If I can I'll have a look into 
Nitro's CGI and FastCGI and runner.rb, but I guess I'm unfortunately 
not skillful enough to succeed.

Again: no need to hurry with this. Keep up the good work the other 
Nitro/Og related stuff you're working on.


Am 16.09.2005 um 13:04 schrieb George Moschovitis:
> Currently not,
> but it is easy to setup. I would appreciate if someone could have a
> look at runner.rb and provide a solution. I plan to work on other
> Nitro/Og related stuff over the weekend.
> Btw, perhaps someone could try to make Nitro work with scgi and acgi
> (as posted lately on c.l.r). I would love to get a patch.
> thanks,
> George.
> On 9/16/05, Fabian Buch <fabian.buch at bamboox.de> wrote:
>> Am 15.09.2005 um 08:45 schrieb George Moschovitis:
>>>> Well, at least I figured out that I'm supposed to run fcgi.rb, 
>>>> right?
>>> no,
>>> you should run like this:
>>> ruby --apache run.rb
>> Is there a way to run nitro in apache(cgi/fastcgi) without starting a
>> new instance of apache?
>> In Rails I can pack all configuration into a VirtualHost.
>> Fabian Buch

More information about the Nitro-general mailing list