Re: Apache cgi problem
> The first is the source of the problem meaning that Apache cannot find the
> perl interpreter for some reason. I know that perl is in /usr/bin/perl
> (at least this is what `which perl` tells me) and I wrote the script
> using vi on the BSD box, so the problem is not the trailing \CR.
> In fact execution of
> /var/www/cgi-bin/first.pl produces the desired output.
>
I found the solution, it is OpenBSD specific and I thought I would post it
here for posterity. The OpenBSD install (wisely) chroot(8) jails the Apache
webserver. So in /var/www (the ServerRoot, i.e. the jail) I had to create
a usr directory and copy all the files found by ldd `which perl`. I got
the basic script to run in the way.
Thanks,
TJ Walls
|