Looking for answers? We have them! Click for live online support, or search the CWS knowlegebase for answers to all of your questions! If you still need assistance, feel free to call us at 888-426-7793!
Search Support:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

How do I implement custom scripts?

Our servers have the capability to run CGI scripts based on Perl. Perl is 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 on our web servers prior to use.

If you have a custom CGI script that you need to use, simply upload it to your personal "cgi-local" directory

Here are some helpful tips to follow when installing Perl scripts:

  1. Upload to your cgi-local 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 or /usr/bin/perl5
  4. Reference the script using /cgi-local (and NOT /cgi-bin)

Related Support Items:
Custom Scripts & Server Paths

©1997-2002 Corporate Web Services, Inc., all rights reserved