support/faq

Implementing Custom CGI scripts

Our servers have the capability to run CGI scripts based on Perl. Perl is a our language of choice as it is a world standard and is well suited to CGI. In addition, Perl code does not require manual compilations whereas C code must be compiled prior to use.

If you have a custom CGI script that you need to use, simply upload it to your personal "cgi-bin" Here are some helpful tips to follow when installing Perl scripts:

  1. Upload to your cgi-bin directory to ensure proper file permission settings
  2. Upload in ASCII transfer mode (and NOT BINARY mode)
  3. The first line of each script must read:   #!/usr/bin/perl
  4. Reference the script using /cgi-bin

If a script calls another file within your account, but the script does NOT require a URL,you need to use the system path.

e.g./home/<userid>/... <- if file resides in root /home/<userid>/cgi-bin/...<- if file resides in cgi-bin

Substitute the path to the file beginning with your userid. Your userid is the directory name of your account.

Other Resources
comp.lang.perl.misc
comp.infosystems.www.authoring.cgi

 

Register Your Domain Today!

Check Availability

 

     More Info

 

Partner With Us

 

Request More Information

 

Sign up for our newsletter