Index: [Article Count Order] [Thread]

Date:  Fri, 3 Sep 2004 11:20:39 +0200
From:  Florian Krupicka <f.krupicka-ml@...>
Subject:  Re: Apache::RubyRun, Apache::ERubyRun problems
To:  modruby@... (modruby ML)
Message-Id:  <20040903092039.GA27816@...>
In-Reply-To:  <413666CB.9070000@...>
References:  <413666CB.9070000@...>
X-Mail-Count: 01290

> Now, here is my problem:
> 
> I am using:
> Apache/1.3.29 (Unix)
> ruby 1.8.1 (2003-12-25) [i386-openbsd3.5]
> eruby-1.0.5
> mod_ruby-1.2.2

So you are using OpenBSD i presume? Than that could be the problem,
OpenBSD ships a security-hacked version of Apache which runs chrooted.
that is mod_* load fine, but then mod_ruby tries to execute the script
<ruby-libdir>/1.8/apache/ruby-run.rb or eruby-run.rb respectivly and of
course it does not find those because of the chroot-jail.

Solution:
make a copy of the whole ruby-lib-directory into the chroot or something
similar.

Hope this helps
Greets Florian