Problems with perl

Status
Not open for further replies.

mindos4

New Member
Messages
22
Reaction score
0
Points
0
I have some perl pages, but whenever I try to access them from an internet browser (like if I went to mindos4.x10.mx/HelloWorld.pl) I get an internal server error telling me about a misconfiguration, or something. What can I do to fix this?

I do have correct syntax:

Code:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print<<HTML
<html>
<body>
Hello, World!
</body>
</html>
HTML;
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
1. Located in /cgi-bin ?
2. Permissions set to 0755 ?
3. Uploaded in ASCII , not Binary?
4. If written on Notepad++ or some other text editor, saved as UTF-8 without BOM?
 

mindos4

New Member
Messages
22
Reaction score
0
Points
0
No, it's not in cgi-bin, I will move it there, the permissions for cgi-bin is 0755, I wrote it with the online editor, so it is ASCII.
 
Status
Not open for further replies.
Top