View Full Version : Include ssi template

02-17-2004, 05:06 PM
I have a ssi file I would like to include in my web pages.

The ssi is called: footer.ssi

How would I make an include statement to include this in my web page?

Roy Sinclair
02-17-2004, 05:40 PM
<!--#include file="footer.ssi" --> if the footer.ssi file is in the same directory as the calling file. You can add relative directory references too as long as the directories are further down the tree but if you have to go closer to the root of the tree than the current file you need to use:

<!--#include virtual="pathtodirectory/footer.ssi"-->

(These instructions are true for an IIS hosted web site, someone with good knowledge of Apache may want to interject Apache's requirements if they are different).