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
- How do I manage my MySQL database?
- What scripting languages do you support?
- How can I upgrade my phpBB 2.x.x forum?
- What is CHMOD?
- What are Server Side Includes (SSI) used for and how do I use them?
- How do I connect to my MySQL database?
- What is MySQL?
- Do you support java servlets?
- Do you allow database imports?
- Where do I place my CGI files and what paths should I use?
- More Articles..