On Tue, 30 May 2006 17:20:30 -0700 prad <[EMAIL PROTECTED]> wrote:

> i have mod_ruby and the appropriate changes in the httpd.conf file.

You are going to need to copy the entire ruby module directory.  I think
that that is all you will need, since the other libs should be loaded
when mod_ruby is loaded (when apache first starts, before chrooting).
Mod_ruby, mod_perl, etc aren't designed with chrooted apache in mind.
If you want to use cgi, then you need the ruby interpreter itself and 
all the libs, and all the modules.

> php sits in /usr/local/bin - yet it runs find having just the php.ini file 
> inside the chroot environment. may be that file may give some clues as to how 
> this was done for php and may point the way for ruby.

The php binary isn't involved, its the PHP apache module that is used.
And it does need its modules in the chroot too, see /var/www/lib/php.

Adam

Reply via email to