Hello, I registered for a free account yesterday for evaluation. My website has been deployed since a couple of hours. Trying to test the cgi feature using a perl script, I always get Internal Error 500 even if I'm sure my script is okay. Question: where should I put the script? cgi-bin or scgi-bin? The Cpanel installation wizard says scgi-bin. Wherever I place it, I then always get error 500. Script is as follows:
#!/usr/bin/perl
BEGIN {
my $b__dir = (-d '/home/rmetrich/perl'?'/home/rmetrich/perl' getpwuid($>) )[7].'/perl');
unshift @INC,$b__dir.'5/lib/perl5',$b__dir.'5/lib/perl5/x86_64-linux',map { $b__dir . $_ } @INC;
}
print "Content-type: text/html\n\n";
print "<html><head></head><body>\n";
print "HELLO THERE\n";
print "</body></html>\n";