FTP CGI Error

From IE Internet helpdesk
Revision as of 10:27, 10 June 2010 by Peter (talk | contribs) (Created page with '= I've FTPd up CGI scripts but get a 500 error = CGI Scripts must be installed correctly, otherwise an error will occur. The most common problems encountered with cgi scripts ar…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I've FTPd up CGI scripts but get a 500 error

CGI Scripts must be installed correctly, otherwise an error will occur. The most common problems encountered with cgi scripts are:

  • the script must be FTPd in ASCII mode;
  • the script must be written as a plain text file (i.e. do not create it in Word etc. Create scripts in notepad, or a specialised application);
  • scripts must be executable. To make your script executable, please go to your control panel and follow the "set file permissions" link; and
  • the syntax in a script must be correct.

If you get a 500 error when running a perl script, please go to your control panel and run the "check a perl script" link, this will tell you which of the above has gone wrong and how to fix it.