Re: Apache::RubyRun, Apache::ERubyRun problems

Florian Krupicka <[email protected]> Fri, 3 Sep 2004 11:20:39 +0200
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
> 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