On 8/16/06, Jack J. Woehr <[EMAIL PROTECTED]> wrote:
I think I understand but want to check before I do something silly.
I have OBSD 3.9 + chrooted apache + mod_perl after apxs.
Now, to actually run perl cgi's I have to copy /usr/bin/perl and all
relevant libs over to /var/www?
Is there an automated tool for this?
dunno, but it's not hard to do by hand - `ldd /usr/bin/perl` and then
create the library paths and libs that perl wants inside /var/www.
Ditto for Perl modules that may call external things like RCS. Here's
how I did it for Kwiki (a Perl-based Wiki) and for MediaWiki+php+mysql
(the first doc may be somewhat out of date):
http://darkuncle.net/sysadmin/kwiki_in_chroot.txt
http://darkuncle.net/sysadmin/mysql_in_chroot.txt
(Note that placing executables like Perl and PHP inside your chroot()
may tend to reduce the effectiveness of the jail.)
--
[EMAIL PROTECTED],darkuncle.net} || 0x5537F527
encrypted email to the latter address please
http://darkuncle.net/pubkey.asc for public key