Server-Side Includes
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 ...
Get FreeBSD® Unleashed 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.