a brief explanation of CGI

robm@ncsa.uiuc.edu (Rob McCool)
Message-id: <9312132045.AA28596@void.ncsa.uiuc.edu>
From: robm@ncsa.uiuc.edu (Rob McCool)
Date: Mon, 13 Dec 1993 14:45:33 -0600
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: www-talk@www0.cern.ch
Subject: a brief explanation of CGI
Content-Length: 964

I'm currently in the middle of finals this week, so I don't have time to answer
all of the mail I'm getting about CGI. Hopefully, a quick summary will
suffice until later in the week.

CGI is the next generation of the script interface. It provides the exact
capabilities that the NCSA script interface (/htbin) provided, and a whole
lot more. In addition, it is not an NCSA-only feature as it was developed by
several server authors and script writers.

The basic differences between CGI and /htbin are cosmetic. Instead of
getting query arguments on the command line, they now come in environment
variables. 

If you have used NCSA httpd 1.0a5, and have scripts which were written for
/htbin or /htbin-post, use OldScriptAlias to point to them instead of
ScriptAlias.

Hopefully within a few days I will have time to write a short ``What the
hell is Rob babbling about'' page and a tutorial for writing CGI scripts (as
well as upgrading your old ones).

--Rob