Tuesday, May 31, 2005

Server Side Includes | using SSI to keep your pages up to date || HTMLSource ]

Server Side Includes | using SSI to keep your pages up to date || HTMLSource ]:
"Enabling SSI in a Directory

If you�re concerned about the performance loss that occurs by enabling SSI across a large website, you can enable it on only a single directory by creating a .htaccess file in that directory with these lines:

AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes

This will also allow you to enable SSI throughout a site if you put this .htaccess file in your root directory � useful if your server definitely supports SSI but your hosts won�t enable it in the config files."