Can any of you web experts help with a beginner's cgi problem. I cannot even get past first base and execute even the simplest script on a Cobalt RaQ server? e.g.:-
#!/usr/bin/perl
print "<HTML></HTML>\n";
I get:
CGIWrap encountered an error while attempting to execute this script:
Error Message: Permission denied
Error Number: 13
The site setup says cgi execution is enabled.
It has been uploaded in ASCII as site admin.
Permissions of file and directory set to read/write/execute.
The script runs ok in site debug (using the /cgiwrapDir/cgiwrapd/ thing).
Tried in various different directories, cgi-bin etc. although that's not supposed to matter with Cobalt RaQ.
Have tried putting /perl--.
Have tried stripping out CRs (char 13) in hex editor.
Absolutely bugger all works. Any suggestions gratefully received.
#!/usr/bin/perl
print "<HTML></HTML>\n";
I get:
CGIWrap encountered an error while attempting to execute this script:
Error Message: Permission denied
Error Number: 13
The site setup says cgi execution is enabled.
It has been uploaded in ASCII as site admin.
Permissions of file and directory set to read/write/execute.
The script runs ok in site debug (using the /cgiwrapDir/cgiwrapd/ thing).
Tried in various different directories, cgi-bin etc. although that's not supposed to matter with Cobalt RaQ.
Have tried putting /perl--.
Have tried stripping out CRs (char 13) in hex editor.
Absolutely bugger all works. Any suggestions gratefully received.
Comment