Enable SSI shtml
From Webpipe Wiki
To set up SSI in Apache, simply add the following lines to your httpd.conf file:
AddType text/html .shtml AddOutputFilter INCLUDES .shtml
And add Includes to the "Options" line like this:
Options Indexes FollowSymLinks ExecCGI Includes
Now all files that end in .shtml will be sent through Apache's SSI parser. and SSI tags such as <--#include--> will be interpreted properly.
You can enable SSI for files that end in .html with the following line in the appropriate Apache config file
AddOutputFilter INCLUDES .html
The thing to keep in mind is that, by doing this, you're requiring that Apache read through every single file that it sends out to clients, even if they don't contain any SSI directives. This can slow things down quite a bit, and is not a good idea. So there is a feature called XBitHack, which will only process those .html files that are executable. (chmod +x filename.html)
To turn on XBitHack use:
XBitHack on



