ANN: webrick-fcgi 0.1.0


(Aredridel) #1

I’ve been working this week on a webrick servlet compatible module using
FCGI. I prefer Apache as a general webserver, the process separation of
CGI and FastCGI over mod_ruby, and the webrick API – so I combined
them.

I’d appreciate comments, suggestions, improvements, and certainly not
least, success stories.

The module is available at:

http://theinternetco.net/projects/ruby/webrick-fcgi-0.1.0.tar.gz

With regards,
Ari


(Ara.T.Howard) #2

very cool!

i’ll check it out.

-a

···

On Sat, 14 Feb 2004, Aredridel wrote:

Date: Sat, 14 Feb 2004 10:12:58 +0900
From: Aredridel aredridel@nbtsc.org
Newsgroups: comp.lang.ruby
Subject: ANN: webrick-fcgi 0.1.0

I’ve been working this week on a webrick servlet compatible module using
FCGI. I prefer Apache as a general webserver, the process separation of
CGI and FastCGI over mod_ruby, and the webrick API – so I combined
them.

I’d appreciate comments, suggestions, improvements, and certainly not
least, success stories.

The module is available at:

http://theinternetco.net/projects/ruby/webrick-fcgi-0.1.0.tar.gz

With regards,
Ari

EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
PHONE :: 303.497.6469
ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
URL :: http://www.ngdc.noaa.gov/stp/
TRY :: for l in ruby perl;do $l -e “print “\x3a\x2d\x29\x0a””;done
===============================================================================


(MikkelFJ) #3

“Aredridel” aredridel@nbtsc.org skrev i en meddelelse
news:20040214011251.GC5614@mail.nbtsc.org

I’ve been working this week on a webrick servlet compatible module using
FCGI. I prefer Apache as a general webserver, the process separation of
CGI and FastCGI over mod_ruby, and the webrick API – so I combined
them.

I’d appreciate comments, suggestions, improvements, and certainly not
least, success stories.

I think FastCGI is the way to go.

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/52598

Mikkel


(Aredridel) #4

Absolutely. In my testing, it has been the most stable and flexible for
my uses: I’m not writing a single script system, so mod_ruby’s
namespacing issues are painful. I don’t want scripts owned by different
users, in different parts of the system to clash.

Privilege separation is important – FCGI allows scripts to run under
different userids than the webserver. That’s a plus.

No need for separate apache instances for different configurations.

Now, on top of that, WEBrick is a standard part of the distribution now,
so I imagine many interesting things will be released as servlets only
– compatibility with that is a must, but I’m stuck with Apache for
other parts of my site, and mod_proxy seems a brittle solution.

All this led me to create the module, so I can use webrick servlets
under fastcgi.

Ari

···

On Sat, Feb 14, 2004 at 06:55:03PM +0900, MikkelFJ wrote:

“Aredridel” aredridel@nbtsc.org skrev i en meddelelse
news:20040214011251.GC5614@mail.nbtsc.org

I’ve been working this week on a webrick servlet compatible module using
FCGI. I prefer Apache as a general webserver, the process separation of
CGI and FastCGI over mod_ruby, and the webrick API – so I combined
them.

I’d appreciate comments, suggestions, improvements, and certainly not
least, success stories.

I think FastCGI is the way to go.

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/52598