AlpineWeb Home
Search: For:   ~ Advanced Search  
  Support Home     Documentation     Knowledgebase     Help Desk     Blog 
Support Home > Signature > Administration > Sunday, July 20, 2008

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


Technical Support
° Getting Started Guides
  FreeBSD
° Basic Hosting Help
° Signature Hosting Help
° VPS v1 Help
° VPS v2/3 Help
° MPS v2/3 Help
  Linux
° VPS v3 Help
° MPS v3 Help
  SaaS
° Sugar CRM
  DNS
° Domain Name Service
° Domain Registration
° Help Desk
° Knowledgebase
° Support Policies
° Disclaimer

° AlpineWeb Home
° Compare Hosting Plans
° Network Topology

° Rates & Fees
° Order Center




  Home | Site Map | Customer Backroom Copyright  ©  1997-2008  AlpineWeb Design