Knowledgebase: Cpanel Control Panel > CGI
How do I get my CGI script to work?
Posted by Administrator on 24 December 2009 10:48 PM
How do I get my CGI script to work
The most common problem with CGI scripts is setting the correct permissions on the file. All cgi scripts must have executable permissions to run. Use chmod and change it to 755. You can also set this using your ftp program if it supports CHMOD commands. The File Manager in your control panel can also be used.

The default Perl path is #!/usr/bin/perl

Make sure the cgi script is uploaded to 'public_html/cgi-bin' directory

If you are still having problems, double check your configuration files and/or consult with your cgi script vendor.
(720 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).