My Perl CGI scripts won't run, what's wrong?

You must always upload Perl scripts in ASCII mode, otherwise they won't work. Binary is fine for most files, but not for Perl scripts.

Check to make sure that you have used the correct paths in your script.

Perl: /usr/bin/perl
Sendmail: /usr/sbin/sendmail
CGI-BIN: /var/www/cgi-bin/
HTML: /var/www/html/

You need to make your script executable, by setting it's permission using your FTP programme. To do this, you need to chmod the script to 755. This procedure may differ between FTP clients. Please refer to the user manual supplied or search the knowlegde base for 'chmod'.


Other Questions In This Category

Search Articles

Enter keywords below to search the knowledge base.

Go


Categories

Contact Support

If you can't find an answer to your question here, please visit our contact page and email support or give us a call on 08456 80 80 88 (local rate).