Bluehost Web Hosting Help
Why am I Getting File Not Found When Executing My CGI?
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.
Recommended Help Content
What is CGI? (updated 1004 days ago)
CGI Script Limitations
Does your company have any limit about CGI script use? (updated 1004 days ago)
I need help with my CGI script? (updated 2028 days ago)
Related Help Content
Zend Optimizer cannot be found
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 (updated 1115 days ago)
Understanding the Basics of CGI. (updated 1003 days ago)
Can I add my own CGI scripts?
Can I add my own CGI scripts? (updated 1007 days ago)
How to fix ExecGCI in .htaccess
How to run CGI scripts for Addon domains. (updated 1000 days ago)
Ruby on Rails 404 Errors
My Ruby on Rails installation keeps displaying a '404 Not Found' error. (updated 1063 days ago)
Changing File Permissions
How do I change file permissions? (updated 798 days ago)
Setting file and user permissions
Short tutorial on how to set file and user Permissions in cPanel. (updated 1000 days ago)
Cron Jobs with PHP and other File Types
This article will explain how to run php and other file types using Cron jobs. (updated 149 days ago)