Date: Sun, 24 Sep 2000 20:33:44 +0200 From: Gabriel Ambuehl <gabriel_ambuehl@buz.ch> To: isp@freebsd.org Subject: perl/chroot/sbox strangenesses.... Message-ID: <30104923351.20000924203344@buz.ch>
next in thread | raw e-mail | index | archive | help
Hello, I try to setup the sbox CGI wrapper (http://stein.cshl.org/software/sbox for our webservers but I've got a weird problem with it. Everything works just fine except for CGI scripts which use DBI: those generate, when equipped with CGI::Carp fatalsToBrowser, the following error: Software error: Callback called exit at /web/public_html/test2.cgi line 4. For help, please send mail to the webmaster (you@your.address), giving this error message and the time and date of the error. However, if I do a manual chroot and give it perl test.cgi as argument, it works as it should. Has anyone got any clue what's going on here? All other scripts I tested (including some using CGI.pm and other modules) do work without any problems. On a side note: what's the safest way to get PHP into a chroot like behaviour (e.g. jailing all users into their homedirs)? Should I compile it as CGI script and throw into the existing CGI jail? Best regards, Gabriel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30104923351.20000924203344>