A Journey through the Web Stack
A technical journey through a common web stack including the HTTP 1.1 protocol, the Apache web server, CGI, PHP and the browser.
1 - Introduction
This article is intended to give an in-depth overview of the entire web stack and show the relationship and dependencies of each of the components on the others.
This article is written in the context of the LAMP stack (Apache and PHP have their own sections in this article) but most of the information relayed here is relevant to any technology used. Apache could be replaced with IIS with a minimum amount of rewriting, PHP could be replaced with Python.