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?
The wiki at the amrita site seems to be down, so I can’t ask this
question there.
Thanks in advance.
···
–
Lloyd Zusman
ljz@asfast.com
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?
The wiki at the amrita site seems to be down, so I can’t ask this
question there.
Thanks in advance.
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
<Files *.ams>
Options ExecCGI
SetHandler ruby-object
RubyHandler Amrita::AmsHandler.instance
So I guess it does.
Guillaume.
···
On Tue, 2004-04-20 at 19:21, Lloyd Zusman wrote:
–
Lloyd Zusman
ljz@asfast.com
Guillaume Marcais guslist@free.fr writes:
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
<Files *.ams>
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.
···
On Tue, 2004-04-20 at 19:21, Lloyd Zusman wrote:
–
Lloyd Zusman
ljz@asfast.com