I'm trying to move some working CGI scripts
to a Qube2. For now, I've created the "site" under a normal user directory
(e.g., /<domain>/users/<user>/<website>) with all scripts
living in a "cgi-bin" subdirectory. All the scripts correctly begin w/
#!/usr/bin/perl (which is the location of Perl - verified by "whereis"). The
cgi-bin directory and all contents have been set to 755 (through chmod). I've
verified this as well - in fact, here's the ls -l output:
-rwxr-xr-x 1 brendan
httpd 17744 May 15 1999
Internet.pm
-rwxr-xr-x 1 brendan httpd 834 Feb 12 11:04 dellog.pl -rwxr-xr-x 1 brendan httpd 4515 Feb 12 11:04 get.pl -rwxr-xr-x 1 brendan httpd 1137 Feb 12 11:04 signout.pl -rwxr-xr-x 1 brendan httpd 1745 Feb 12 11:32 status.pl -rwxr-xr-x 1 brendan httpd 3595 Feb 12 11:04 viewlog.pl -rwxr-xr-x 1 brendan httpd 13120 Feb 12 11:05 webmailer.pl However, whenever I attempt to run one of
these scripts, I get the following error:
CGIWrap encountered an error while attempting to execute this script:
This message usually indicates there is a problem with the script itself.
The owner of the script needs to check the #! line for correctness.
(For this specific case, the "website" is named "Aleia" and the "domain",
since I'm on a LAN only at present, is "home". The executing URL is: http://qube.home/users/brendan/Aleia/cgi-bin/status.pl.)
Any thoughts? Suggestions? Further questions?
Brendan
|