Victor
January 10th, 2001, 10:40
I’ve just started to learn Perl, and I’am trying to make the first script work, but it wouldn’t ;(
What am I doing wrong?
I found this example in a guide:
#!/usr/bin/perl
print "Content-type: text/html\n";
print "Hello!\n";
I followed all the instructions:
1) I uploaded this script (test.cgi) to my cgi-bin in Ascii mode
2) I did check the path to Perl on the server
(my host is below10host.com)
3) I did set permissions 755
In result, when I go to the url of test.cgi in my browser, I get: Internal Server Error 500.
What am I doing wrong?
Please, help!
Victor
What am I doing wrong?
I found this example in a guide:
#!/usr/bin/perl
print "Content-type: text/html\n";
print "Hello!\n";
I followed all the instructions:
1) I uploaded this script (test.cgi) to my cgi-bin in Ascii mode
2) I did check the path to Perl on the server
(my host is below10host.com)
3) I did set permissions 755
In result, when I go to the url of test.cgi in my browser, I get: Internal Server Error 500.
What am I doing wrong?
Please, help!
Victor