won't my Perl Cgi Scripts work on your server?
There are a variety of reasons that your cgi scripts may not running,
and they include:
The permissions on the script may not be set to executable. If you use the chmod
command in your favorite FTP client and set the permissions to 755
The path to the interpreter is incorrect, ie., for Perl scripts the "shebang"
should look like this:
You uploaded the Perl Cgi Scripts in binary rather than ASCII text mode. You need to
use ASCII mode to upload your scripts. This is configurable in your ftp program.
Make sure that when you upload the scripts, you place them somewhere within
the websites "cgi" directory.This is the place where you will be able to execute scripts from.
Also make sure that the script itself has an owner of the person who uploaded
and group ownership of the site it resides on.
If you are getting 500 Internal Server Errors or premature end of script headers:
re-editing the script in a text editor like Notepad, Simpletext or Ultraedit
If you use Dreamweaver - don't edit the script in the Dreamweaver program. You may still get the 500 error.
Reupload the script in ascii-not binary mode.
Make sure your permissions are set correctly on your cgi folder.
If all else fails, it is most likely due to a problem with the script itself and requires you
to debug the script.. For such problems, you will need to
contact the creator of the script for assistance.
after you have done all of the above; contact us; we'll make sure everything
is running correctly on the server.