The CGI Environment
As you already know, CGI programs aren’t like regular programs. Although they can be executed from the command line, they’re really designed to be executed by a Web server in response to a request from a Web browser. There are several pieces of software that are required in order to set up a proper environment for CGI programming. A list of the software that is required, and some that is just helpful, follows:
A Web server. In order to execute your CGI programs and send the results to a Web browser, a Web server is required. Naturally, in order to write CGI scripts, the server must support CGI.
A language interpreter or compiler. If you write your CGI programs in a scripting language, you need the language interpreter. For ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access