From: Thomas Fini Hansen Date: 2004-09-16T02:38:28+09:00 Subject: Re: Setting up my website - mod_ruby and Apache V2 - Naive questions. On Thu, Sep 16, 2004 at 01:14:54AM +0900, Andreas Schwarz wrote: > Victor Reyes wrote: > >Apache Version 2.x > > >How do I use the mod_ruby that manhy people discuss? I know that the > >mod_ruby name goes in the httpd.conf file, but how is it used? > > I don't think that mod_ruby works with Apache 2.x (-> threading). I Well, considering that 1.2.2 fixes a SEGV bug on Apache2 with threads, I'd say it does work. How mature it is, is another question though. I wouldn't know, so far I've only tried it using the prefork model. > would use fastcgi. It seems to be faster, and the ruby interpreter is > completely independent of the web server process. This has many > advantages: the Apache processes need less memory, a crashing ruby > interpreter can't kill a web server process, you don't introduce any > memory leaks from Ruby/mod_ruby into Apache, and you can run the > interpreters under different users for more security. This is good arguments, though. But it is a different approach if you come from the PHP world. By chance, nobody has made a .rhtml handler in FCGI, to ease transitions? Or am I just too tired to think strait right now? -- Thomas beast@system-tnt.dk