[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache, chroot, Perl



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