Easy CGI Problems

Easy CGI Problems thumbnail
CGI programs allow you to interact with web servers.

Common Gateway Interface (CGI) transfers information between web servers and CGI programs. CGI is a server-side solution, because all of the processing is done on the server instead of your computer. CGI can be written in many programming languages, such as Perl, C, Java or Visual Basic.

  1. File Permissions

    • Incorrect file permissions will generate a 403 error after you upload and try to access the file. This error occurs when the file permissions have not been properly set after the file is uploaded. Use your FTP software to change mode (CHMOD) the file to 755 to properly execute the file.

    Configuration Error

    • If you receive an error message telling you that you have a configuration error, this means that the first line of your script has the wrong path for Perl. Contact your web hosting company to find out what the correct path for Perl is on your server. Correct the script and upload the file again in ASCII mode.

    File Extension

    • Some servers will only allow CGI programs to run if the filename ends in ".cgi." Check with your web hosting company to see if they allow other filename extensions, or alter your current filename extension to correct the issue.

Related Searches:

References

Resources

  • Photo Credit Comstock/Comstock/Getty Images

Comments

You May Also Like

  • How to Upload CGI Files

    Common gateway interface, or CGI, files require specific file permissions when they are uploaded to the Web. You can check for the...

  • How to Upload Multiple CGI Files

    CGI, or common gateway interface, files are commonly used to run scripts or programs. For example, if you want to add a...

  • How to Use CGI Proxy Servers

    CGI proxy servers allow users to access a website which may be blocked by the organizations owning the computer. Examples are company...

  • What is File Extension Unknown?

    A file extension is a three- or four-letter suffix attached to a file that informs your operating system of the type of...

  • How to Create an Account With Gmail

    Would you like to have a Gmail account? You no longer have to wait for an invitation from an existing user. Now...

  • How Do I Convert a Movie to CGI?

    It isn't uncommon to encounter a file that can't be read by whatever movie or music player you're trying to use. Some...

Related Ads

Featured