...

View Full Version : Include ssi template



florida
02-17-2004, 04: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, 04: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).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum