Setting Up Your Web Server for SSI

Before you can start creating SSI pages for your Web site, you need to configure your Web server so that it can recognize which files to scan for SSI directives. The method for specifying which file extensions belong to SSI documents varies, depending on which Web server you’re using and the platform on which it runs.

Configuring your Web server to scan all files with the .html extension for SSI directives can place an additional processing load on your Web server, but only administrators running extremely high-volume sites need to worry about it. Most Web servers are powerful enough that the increase in server load this directive causes won’t affect the performance of the Web site. The rule of thumb is to ...

Get Sams Teach Yourself CGI in 24 Hours, Second Edition 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.