You can enable SSI with htaccess. Before making any change you must take permission of your webhosting provider, because it can be considered ‘hacking’ or violation of your host’s TOS, so be safe rather than sorry:
1)AddType text/html .shtml (This line order the server that pages with a .shtml extension (for Server parsed HTML) are valid.)
2) AddHandler server-parsed .shtml (this line adds a handler, the actual SSI bit, in all files named .shtml. It order the server that any file named .shtml should be parsed for server side commands)
3) Options Indexes FollowSymLinks Includes (This line is just techno-junk that you should throw in there).
. The last
And that’s it, you should have SSI enabled. But wait…don’t feel like renaming all of your pages to .shtml in order to take advantage of this neat little toy? Me either! Just add this line to the fragment above, between the first and second lines:
If you are going to keep SSI pages with the extension of .shtml, and if you want to use SSI on your Index pages, you need to add the following line to your htaccess:
DirectoryIndex index.shtml index.html
The above command allows a page named index.shtml to be your default page, and if that is not found, index.html is loaded.