On Tue, Jul 09, 2013 at 08:30:03PM +0300, BSD Kazakhstan wrote:
> Thinking of chroot(), I have even tried adding a copy of perl binary to:
> 
> # ls -l /var/www/usr/bin/
> -rwxr-xr-x  1 root  daemon  10725 Jul  9 19:15 perl

your perl is probably not statically linked, see
http://www.openbsd.org/faq/faq10.html#httpdchroot

If you just want to see if nginx works try /var/www/cgi-bin/test-cgi
which uses /bin/sh, chmod it appropriately and copy /bin/sh to
/var/www/bin/sh (/bin/sh *is* statically linked)

-- 
I'm not entirely sure you are real.

Reply via email to