A report on Web server and Common Gateway Interface
In computing, Common Gateway Interface (CGI) is an interface specification that enables web servers to execute an external program, typically to process user requests.
- Common Gateway InterfaceAt the beginning of 1994, the most notable among new web servers was NCSA httpd which ran on a variety of Unix-based OSs and could serve dynamically generated content by implementing the HTTP method and the CGI to communicate with external programs.
- Web server6 related topics with Alpha
Apache HTTP Server
3 linksThe Apache HTTP Server is a free and open-source cross-platform web server software, released under the terms of Apache License 2.0.
CGI support
PHP
2 linksGeneral-purpose scripting language geared toward web development.
General-purpose scripting language geared toward web development.
PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or as a Common Gateway Interface (CGI) executable.
NCSA HTTPd
1 linksNCSA HTTPd is an early, now discontinued, web server originally developed at the NCSA at the University of Illinois at Urbana–Champaign by Robert McCool and others.
It also introduced the Common Gateway Interface, allowing for the creation of dynamic websites.
FastCGI
1 linksFastCGI is a binary protocol for interfacing interactive programs with a web server.
It is a variation on the earlier Common Gateway Interface (CGI).
Form (HTML)
1 linksSent to a server for processing.
Sent to a server for processing.
Perl scripts are traditionally used as Common Gateway Interface applications (CGIs).
CGIs may be written in other languages than Perl (compatibility with multiple languages is a design goal of the CGI protocol) and there are other ways to make Perl scripts interoperate with a web server than using CGI (such as FastCGI, Plack or Apache's mod_perl).
Query string
0 linksPart of a uniform resource locator that assigns values to specified parameters.
Part of a uniform resource locator that assigns values to specified parameters.
Also some web servers supporting CGI (e.g., Apache) will process the query string into command line arguments if it does not contain an equals sign, ' ' (as per section 4.4 of CGI 1.1).
If the form is processed on the server by a CGI script, the script may typically receive the query string as an environment variable named.