Would any of you with experience using thttpd with the '-r' (chroot)
option *and* perl scripts in cgi-bin please write to me and tell me
how you made it work. I'm trying to do this under NetBSD. I've
mirrored my /usr/pkg/lib/perl5 tree in /usr/pkg/www/usr/pkg/lib/perl5.
I've copied /usr/pkg/bin/perl* to /usr/pkg/www/usr/pkg/bin. I've put
perl in /usr/pkg/www/cgi-bin. All I get when I run my script is a
blank web page. Blah.
The script works with the '-nor' (nochroot) option but I'm uneasy
about using that.
FWIF, my script uses strict, MIME::Base64, and CGI qw(:standard).
I couldn't find an answer in dejanews.
I asked the author, Mr. Poskanzer. He suggested watching the open()s
revealed by truss and copying all that stuff to the www tree. I think
I've done that by mirroring /usr/pkg/lib/perl5.
ITT Industries, Inc., Systems Division
Unsolicited advertising e-mail is not welcome.