October 2001
Beginner
1024 pages
25h 8m
English
One popular feature of Apache is the ability to process server-side includes, or calls to internal Apache functions that are embedded into plain HTML files and processed by Apache before being sent to the browser. Server-side includes let you perform feats from simply echoing environment variables into a page to importing modular HTML fragments or executing server-side programs each time the page is requested.
Server-side includes are embedded into what's known as parsed HTML, which is effectively just regular HTML that Apache parses when the page is requested, searching through it for server-side includes and processing each one in turn before sending it on to the client. Each include is of the following form:
<!--#command ...
Read now
Unlock full access