GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

CGI - Common Gateway Interface

bullet Introduction
The Common Gateway Interface (CGI) is a standard for interfacing external applications with information servers, such as the Apache Web Server. An HTML document is static, which means it exists in a constant state. It is a text file that doesn't change. A CGI program, on the other hand, is executed in real-time so that it can provide dynamic output.

 

bullet Installation
Your Virtual Private Servers features full CGI support.

 

bullet Configuration
CGI programs that are installed in the ~/www/cgi-bin directory will automatically be executed by the Web server when accessed from a Web browser. If you install CGI programs in the ~/www/htdocs directory, they will not be automatically executed by the Web server. To configure the Web server, connect to your Virtual Private Servers via Telnet or SSH and do the following.

  1. Uncomment this AddHandler directive in the Web server configuration file (~/www/conf/httpd.conf):

    AddHandler cgi-script .cgi

    You may want to add a Handler for Perl scripts:

    AddHandler cgi-script .pl

  2. Add an ExecCGI option to the Options for your Root Document declaration (<Directory /usr/local/etc/httpd/htdocs>) also in the Web server configuration file (~/www/conf/httpd.conf):

    Options Indexes FollowSymLinks ExecCGI

  3. Restart Your Web Server


Toll Free 1-866-GSP-4400 • 1-301-464-9363 • service@gsp.com
Copyright © 1994-2016 GSP Services, Inc.