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.

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.

Configuration

The default location for CGI scripts on your VPS 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.

Please note: the information on this page applies to ITS web hosting plans. It may or may not apply to other environments. If you are looking for a feature described here, or better support from your hosting provider, please consider hosting your site with ITS!

1555 N Naperville/Wheaton Road, Suite 107
Naperville, IL 60563
phone 630.420.2550
fax 630.420.2771