Why am I seeing "File Not Found" or "No Such File or Directory" when executing my CGI script?
This is usually the result of CGI scripts being uploaded the wrong way. First, verify the path you're using is correct; remember that directories and files are case-sensitive. A misspelled, but otherwise correct path would fail with a "404" error.
Also, verify your script has been uploaded in "ASCII" mode. This is used for all text-based uploads. Binary is for image files, zip files, and other non-text files.
Your FTP program will typically use "Automatic" and determine on it's own what to use, however in some cases it cannot determine this properly, in which case you'll have to manually set the mode. Please refer to your FTP program's documentation for assistance changing that.
Knowledgebase Article
285,032 views
bookmark
share
tags:
cgi
Recommended Help Content
What is CGI?
Knowledgebase Article
241,210 views
tags:
cgi
Does your company have any limit about CGI script use?
Knowledgebase Article
272,284 views
tags:
cgi script
I need help with my CGI script?
Related Help Content
Error Log receiving this error: PHP Warning: Zend Optimizer for PHP 4.4.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer-2.5.10/php-4.4.x/ZendOptimizer.so') - try reinstalling the Zend Op
Understanding the Basics of CGI.
Knowledgebase Article
383,549 views
tags:
cgi
When logging into phpMyAdmin, why do I get a 404 not found error?
Can I add my own CGI scripts?
Knowledgebase Article
336,366 views
tags:
cgi scripts
How to run CGI scripts for Addon domains.
The hosts file is a plain text file that allows you to set IP Addresses for a domain on your computer. This may override authoritative DNS.
My Ruby on Rails installation keeps displaying a '404 Not Found' error.
This article will explain how to utilize GZip through the file manager.