Web Analytics Made Easy -
StatCounter Include ssi template - CodingForum


No announcement yet.

Include ssi template

  • Filter
  • Time
  • Show
Clear All
new posts

  • Include ssi template

    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?

  • #2
    <!--#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).
    Check out the Forum Search. It's the short path to getting great results from this forum.