|
Overview
There are many seemingly minor problems that will cause your Perl script to fail at Spaceports
(or elsewhere), usually without giving a meaningful error message.
Here is a list of potential problem areas to check when troubleshooting:-
- File format
- Make sure you upload Perl scripts in ASCII mode, not binary.
File permissions
- Check all file permissions are set correctly (HTML files 777, CGI scripts 755
and log files 666).
Directory permissions
- Ensure all directory permissions are set correctly (those not containing
scripts 777 and those containing scripts 755).
Server
- Be certain that your CGI scripts are on the CGI-BIN server.
Execution
- Do not try calling scripts from a site hosted elsewhere - Spaceports CGI-BIN scripts
can only be executed from a Spaceports server.
Capitalisation
- The Spaceports servers use a UNIX type operating system, so file names are case
sensitive - myscript.cgi and Myscript.cgi are not the
same.
The tilde character
- Watch out for that troublesome tilde (~) character! URLs have a tilde
before the username, paths do not.
Paths
- Check your system paths are correct.
|