How do I get my CGI script to work?

Updated 4 months ago by Theo Chu

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. Make sure to check to see what kind of error you encountered so that you can begin troubleshooting it. 

The default Perl path is: #!/usr/bin/perl. Make sure the CGI script is uploaded to the public_html/cgi-bin directory.

If you are still having problems, double check your configuration files and/or consult with your CGI script vendor.

Having trouble? Contact us and our team will be happy to help.


How did we do?