A
Admin
Hi Guys, I'm new to Perl, and I'm trying an "Hello World!" script but it's
not working. I tried it on 3 different servers and I always get "Internal
Server Error". Here's the script:
#!/usr/bin/perl
print "Content-Type: text/html\n\n";
print "hello world.\n\n";
The path to Perl is indeed /usr/bin/perl and I use a .pl or .cgi
extension. The script is in the cgi-bin folder. The file has 755
permissions. What is wrong?
not working. I tried it on 3 different servers and I always get "Internal
Server Error". Here's the script:
#!/usr/bin/perl
print "Content-Type: text/html\n\n";
print "hello world.\n\n";
The path to Perl is indeed /usr/bin/perl and I use a .pl or .cgi
extension. The script is in the cgi-bin folder. The file has 755
permissions. What is wrong?