CGI Tools Support

Which directory do I place my cgi files in?

You should upload your .cgi files to your cgi-bin directory. * .cgi scripts will run anywhere within your public_html directory - .pl files MUST be placed within your cgi-bin in order for them to function correctly.

What is the method for uploading .cgi files?

You should upload your .cgi or .pl files with your ftp client in ASCII format. This is important as your files will not execute if you upload them in BINARY format. You should also set your permissions for each file as specified by the software vendor. Permissions are refferred to as CHMOD ie (CHMOD 755) and can be set within the control panel or with your ftp client after you have uploaded your files to the server.

Please note that 'SUEXEC ' Is installed on our servers and so setting permissions to 777 is no longer possible for security reasons - Permissions should be therefore set to 755.14

What are the common server paths that I require?

The common server paths that we are requested for :

Perl version 5.x: /usr/bin/perl
Absolute path for your files/scripts: /home/username/public_html/
Sendmail: /usr/sbin/sendmail
Date: /bin/date
Java: /usr/bin/java
Whois: /usr/bin/whois
Python: /usr/bin/python