From: Lloyd Zusman Date: 2004-04-21T09:15:43+09:00 Subject: Re: Amrita and mod_ruby? Guillaume Marcais writes: > On Tue, 2004-04-20 at 19:21, Lloyd Zusman wrote: >> As of a year or so ago, the excellent amrita package did not work under >> mod_ruby. Does anyone know if there's now a more recent version of >> amrita that indeed will function in the mod_ruby environment? >> >> [ ... ] > > From Amrita (1.0.2) RDoc documentation: > > using amrita-script under mod_ruby > > LoadModule ruby_module /usr/lib/apache/mod_ruby.so > Alias /amrita/cgi-bin/ /home/tnaka/cvswork/amrita/sample/cgi/ > RubyRequire amrita/handlers > SetEnv AmritaCacheDir /tmp/bookmark > > Options ExecCGI > SetHandler ruby-object > RubyHandler Amrita::AmsHandler.instance > > > > So I guess it does. > > Guillaume. I forgot to mention that I'm talking about Apache 2.0.x, where the exact example that you mention here did not work last year. However, upon retrying this with the latest mod_ruby, it does indeed work now. The Amrita version 1.0.2 is the same one I tested before, so the problem must have been in the old mod_ruby code interacting with Apache 2.0.x. Other ruby code ran last year under mod_ruby/Apache-2.0.x, but not amrita. But now, all is well. Thanks. -- Lloyd Zusman ljz@asfast.com