Site Panel Help User Panel Help Panel Demo's Search Help

Categories

· Show all categories

· New Customer FAQs
· E-Mail
· FTP - File Transfers
· Domains
· SSH and Telnet
· Scripting Languages
  · Perl - Cgi
· Password Protection
· MySQL
· Stats
· Power Tools

· FAQ Home

· EchoEcho+ Support

Perl - Cgi: I have tried everything and now I doubt perl is working correct on my domain!
Some times, after hours of debugging, it just seems as if perl isn't running at all.
When you reach that point of frustration try this:

1: Copy and paste the following to a file named "test.cgi".
#!/usr/bin/perl
print "Content-Type: text/html\015\012\015\012";
print "Hello world";

2: Upload the file to your domain, while making sure your FTP program is uploading it in "ASCII mode".
3: With your FTP program change CHMOD to 755 for the folder where your file is located.
4: With your FTP program change CHMOD to 755 for the file.
5: Point your browser to the file, and realize that perl is doing fine.
6: Get back to debugging your initial file ;o)

Last update: 12.07.2009, 21:13
Author: EchoEcho Support

printer-friendly version Send to a friend
Show this as PDF file export as XML-File

Average rating: 0 from 5 (0 Votes )

Please rate this entry:
completely
useless

1

2

3

4

5
most
valuable
You cannot comment on this entry | Content Overview: Perl - Cgi
Copyright © EchoEchoPlus Hosting