Perl & stupid 500 error....

check

New Member
Messages
4
Reaction score
0
Points
0
Theres the url for this script
Code:
#!/usr/local/bin/perl
print "Hi there!\n";
I have chmoded the script to 755 and as far as I know it was uploaded as ascii/binary.

Thanks so much!
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
Theres the url for this script
Code:
#!/usr/local/bin/perl
print "Hi there!\n";
I have chmoded the script to 755 and as far as I know it was uploaded as ascii/binary.

Thanks so much!

You didn't specify the content type. Try this:

Code:
#!/usr/local/bin/perl
print "Content-Type: text/html\n\n";
print "Hi there!\n";
 
Top