You are probably right. I'm using the 1.31 version of apache now and it
works wit mod_ruby. However, I don't think it is chrooting itself like
the openbsd version was. I'm using -d but I think that just sets the
docment root instead of putting it in a full on chroot jail.
Thanks,
-Adam
Florian Krupicka wrote:
>>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
>
>
>