cancel
Showing results for 
Search instead for 
Did you mean: 

cgi to ccgi doesn't work!

N/A

cgi to ccgi doesn't work!

Why does a script on the old cgi platform work but on the new ccgi platform not?

I've uploaded and chmod to 755. It runs if i telnet in to the server but not from the web. I get a "CGI System Error: Script Execution Failed".

Please help.

Script:
#!/usr/bin/perl

use LWP::Simple;

$HTML = get('http://www.bbc.co.uk');

print "Content-type: text/html\n\n";
print "<HTML>\n\n";
print "<SCRIPT>\n";

print "var HTML = \"$HTML\"\n";

print "</SCRIPT>\n";
print "\n";
print "<BODY>\n";
print "</BODY>\n";
print "\n";
print "</HTML>\n";

Cheers

Dave
1 REPLY
N/A

cgi to ccgi doesn't work!

Try chmoding it 740 instead of 755 and see if that helps.