Cpanel $5 Hosting - Virtual Private Cloud Hosting - ColdFusion Hosting ASP.NET - CPanel Linux PHP Hosting - Dedicated Servers - Reseller Hosting
Q: My CGI script isn’t working, what are some common reasons?

Be sure to upload the script to your CGI-bin in your directory - make sure that you upload the script in ACSII (text) format, as Perl is a text language and not a binary programming code like C. Please make sure that you place the path to Perl at the very top of your script so that it will be mapped to the Perl interpreter for execution. The path to Perl is:


and you will need to place the syntax:


at the very top of the cgi script file.

The permissions are already properly set to 755 with the CGI bin. However, you will need to chmod 755 the Perl file so that it becomes executable. You may do this by right clicking on the file in any FTP program and selecting "change file attributes" or "properties". There may be a field where you can manually enter the number "755" to represent the proper permissions. Otherwise you may simply give the three users the following permissions:

user (yourself): read, write and execute

group: read and execute

other: read and execute

Below, we have pasted links to some helpful CGI resources:
- a helpful Perl tutorial/help section
- professional Perl help
- intro level cgi tutorials
- intro level cgi tutorials

-- return to questions ID: 150 Web Hosting -- Shopping Cart
QuickCart Shopping Cart - Dedicated Servers - Reseller Hosting - Register Your Domain - ColdFusion Hosting
Online Corporation of America
Website Hosting
 -  Quick Cart Shopping Cart Store Builder - By Design Templates  
 Site Map  - Contact Us -  Privacy Policy

Sales & Support: 570-686-2300