[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apache, chroot, Perl
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Apache, chroot, Perl
- From: Waldemar Brodkorb <wbx_(_at_)_openbsd_(_dot_)_de>
- Date: Sun, 28 Nov 2004 04:16:32 +0100
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
- Reply-to: Waldemar Brodkorb <wbx_(_at_)_openbsd_(_dot_)_de>
Hi,
klausmattner_(_at_)_gmx_(_dot_)_de wrote,
> Sitting in front of this the 2nd night ...
>
> When I disable chroot (httpd -u) my tired eyes clearly
> see that "Hello world" perl test script output.
http://www.openbsd.org/faq/faq10.html#httpdchroot
Read the last paragraph and think about it...
Do you chroot into /var/www and successfully executed perl?
You forgot all libraries, which is needed by perl...
ldd `which perl`
bye
Waldemar
--
CE94 5F99 BA88 65B1 25B9 8CD1 305A FF6B F8F8 1846
gpg --keyserver x-hkp://pgp.mit.edu --recv-keys F8F81846
*** http://www.openbsd.de/~wbx ***
Visit your host, monkey.org