I've created a cgi-bin inside my public_html folder, placed my script into it and yet it can't be found. Why?

The 'cgi-bin' is a protected folder name and will always point to the cgi-bin in the root of the webspace. Any other folder called 'cgi-bin' will not be found. Either place the script into the cgi-bin in the root of the webspace or change the name of the folder you've created and adjust the code accordingly.

  • 46 Users Found This Useful
Was this answer helpful?

Related Articles

My CGI/ASP/PHP script is giving an error when trying to write to a file.

This applies to Linux hosting accounts only.This is almost certainly down to incorrect...

My CGI/Perl scripts are failing with error 500 (Internal Server Error)

These errors are nearly always related to a coding error within the script, or bad variables...

I've installed the formmail script, but my form isn't working. Why?

The Formmail Script is provided via the Fast Name Control Panel, full usage instructions can be...

Why does my script produce a 'file permissions error'?

CGI scripts need certain file permissions to be set if they are to work properly. In general CGI...

CGI scripts fail with 'exec format error'

A CGI script must begin with a valid 'interpreter line' also called 'shebang'. That must be the...