Our servers have the capability to run CGI scripts based on Perl, Unix SH, KSH, CSH, and C/C++ languages. If you have a custom CGI script that you wish to use, simply upload it to your account’s “cgi-local” directory. Here are some helpful tips to follow when installing Perl scripts:
If a script calls another file within your account, but the script does NOT require a URL, you need to use the system path.
For example:
/sites/<domain>/public_html/… <- if file resides in root
/sites/<domain>/cgi-local/… <- if file resides in cgi-local
Substitute the path to the file with your own domain name (without the brackets).
Your domain name is for example: yourdomain.com (be sure NOT to included www).
**NOTE**
OUR SERVER IS RUNNING A CGI WRAPPER PROGRAM. THAT MEANS PERMISSION SETTINGS FOR YOUR CGI-LOCAL FOLDER OR YOUR CUSTOM SCRIPT SHOULD NOT CONTAIN GROUP/OTHER “WRITE” ACCESS (EX: rwxrwxrwx); OTHERWISE, YOUR SCRIPT WILL NOT RUN PROPERLY UNDER OUR SERVER.