Installing Custom CGI Scripts
Our UNIX web servers can run CGI scripts in your very own "cgi-bin" directory.
Scripts may be written in Perl, Unix SH, KSH, CSH, PHP, and C (NOT C++) languages.
The world standard Perl is well-suited to CGI. Additionally, Perl code does not require manual
compilations, whereas C code must be compiled on our Web servers before it can be implemented.
The following are some helpful tips for installing scripts:
Shell Scripts
- Upload to your cgi-bin directory to ensure proper file permission settings.
- Upload in ASCII transfer mode, not BINARY.
- The first line of each script must read: #!/bin/sh , #!/bin/csh or #!/bin/ksh based on
whichever shell scripts you prefer using.
- Reference the script using /cgi-bin
Perl Scripts
- Upload to your cgi-bin directory to ensure proper file permission settings.
- Upload in ASCII transfer mode, not BINARY.
- The first line of each script must read: #!/usr/local/bin/perl.
- Use the Perl script checker in your Control Panel to check syntax.
- Reference the script using /cgi-bin

|