Chapter 14. ADDING DYNAMIC CONTENT WITH SERVER-SIDE INCLUDES (SSI)
Introducing Server-Side Includes
You can use Server-Side Includes, or SSI, to import dynamic content directly into an HTML file and to run basic conditional tests on the CGI environment. Apache understands SSI-specific elements and applies the changes to the HTML content prior to delivering the page to the Web browser.
SSI uses a new set of directives that look like HTML comments. These directives, when found in HTML, convert into dynamic output, depending on the command used. You can use these directives to supply variables, include other HTML files, or even execute programs such as CGI scripts.
You can mix the SSI and CGI technologies, but only in a specific order. Apache cannot ...
Get Perl and Apache: Your visual blueprint for developing dynamic Web content 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.