Historical Context of CGI

In 1993, the standard for invoking command line executables was written by the National Center for Supercomputing Applications (NCSA) team and posted to the www-talk mailing list. It was embraced by the other Web server creators, and ever since then, Web servers have used it as a standard. A work group headed by Ken Coar was established in November 1997 to formalize the NCSA definition of CGI. This effort led to the creation of RFC 3875, which described CGI Version 1.1. Specifically mentioned in the RFC are the following contributors:

  • Rob McCool, the author of the NCSA HTTPd Web server
  • John Franks, the author of the GN Web server
  • Ari Luotonen, the developer of the CERN httpd Web server
  • Tony Sanders, the author of the Plexus Web server
  • George Phillips, the Web server maintainer at the University of British Columbia

In ancient times, C programming language was popularly used for creating CGI apps. RFC 3875 “The Common Gateway Interface (CGI)” has partially defined CGI using C, in saying that environment variables “are accessed by the C library routine getenv() or variable environ”.

When webmasters first started using the Web and wished to link existing information systems, such as databases, to their Web servers, they gave the technology the term CGI. The server that served as a common “gateway” between the Web server and the older information system, ran the CGI application.

Historical context and evolution of CGI.

When you click on any of the links on the webpage, your browser contacts the HTTP web server and demands the URL that is, the filename, and the web server passes the URL and looks for the filename, if it finds that file, it will send it back to the browser otherwise sends an indicating message that you have requested a wrong file. Then, the web browser takes a response from the web server and displays either the received file or the error message. However, it is possible to set the HTTP server so that whenever a file in a certain directory is requested, that file is not sent back. Instead, it is executed as a program. And, whenever that program shows any output, it’s sent back to the browser to display. So, this function is called Common Gateway Interface or CGI, and the program scripts are called CGI Scripts. These CGI scripts can be a Python script, PERL script, Shell script, C or C++ program, etc.

Similar Reads

What is CGI?

CGI or Common Gateway Interface, is the industry-accepted acronym for a set method that is used to define how information is exchanged between the web server and a custom script. It is a protocol that defines how web servers and external programs or scripts can communicate to generate dynamic content on the World Wide Web....

CGI Architeture

...

Historical Context of CGI

In 1993, the standard for invoking command line executables was written by the National Center for Supercomputing Applications (NCSA) team and posted to the www-talk mailing list. It was embraced by the other Web server creators, and ever since then, Web servers have used it as a standard. A work group headed by Ken Coar was established in November 1997 to formalize the NCSA definition of CGI. This effort led to the creation of RFC 3875, which described CGI Version 1.1. Specifically mentioned in the RFC are the following contributors:...

Evolution of CGI

Since it was first introduced in the early 1990s, the Common Gateway Interface (CGI) has seen tremendous development. The evolving demands of web development and technological advancements have influenced its progress. An overview of its evolution is shown below:...

Advantage and Diadvantage of CGI

Advantage of CGI...

Steps to Run and Configure the CGI Script

Step 1: ENABLE CGI SUPPORT IN APACHE...

Contact Us