Chapter 6. Serving Dynamic Content with CGI

This hour's lesson covers the configuration of Apache to allow execution of CGI scripts. CGI is a simple and well-understood protocol for generating dynamic content.

In this hour, you will learn

Common Gateway Interface

CGI stands for Common Gateway Interface. It is a standard protocol used by Web servers to communicate with external programs. The Web server provides all the necessary information about the request to the external program, which processes it and returns a response. The response is then transmitted back to the client.

CGI Protocol

The creation of the CGI protocol can ...

Get Sams Teach Yourself Apache 2 in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.