Quick Navigator

Search Site

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

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



VPS v2: Apache Web Server: 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 Server features full CGI support. Many common CGI's are available on the VPS v2. You can also install and use your own custom CGI scripts.


bullet Configuration

The default location for CGI scripts on your VPS v2 is in the /www/cgi-bin/ directory. In addition, your subhosts can have their own cgi-bin. For security reasons, it is a good idea to keep all your scripts inside a designated directory which is separate from your HTML and other files. Because CGI scripts run with the permissions of the owner of the script, you will need to make sure that the appropriate file permissions and ownership are set for both the scripts and any files the scripts may need to access.

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