I have been trying to use Server Side Includes on my website to save time writing code and be able to change site wide elements quickly and easily.
However i cannot seem to get them to work, either locally or on the Server.
I have set them up as .html files (with only the code needed and no html or body tags) in a ‘ssi’ folder and am calling them in the appropriate locations in my .shtml files with:
<!--#include virtual='/ssi/<filename>.html' -->
but still nothing. Any ideas?
Is it Apache? Perhaps includes are not even enabled.
http://httpd.apache.org/docs/2.2/howto/ssi.html