"This is the second of a three-article series on SSI. In the
first article, we talked about how to enable SSI on your server and
passed on some very basic examples. In this article, there will
be more examples, and we'll talk about some somewhat more involved
things that you might want to do with SSI. In the final
article, we'll talk about the more advanced features of Apache SSI,
including conditional statements."
"In the last article, we mentioned that you could use SSI to
inform the user when the document was most recently modified.
However, the actual method for doing that was left somewhat in
question. The following code, placed in your HTML document, will
put such a time stamp on your page."
"Using an include file for a header and/or a footer can reduce
the burden of these updates. You just have to make one footer file,
and then include it into each page with the include SSI command.
The include element can determine what file to include with either
the file attribute, or the vitrual attribute. The file attribute is
a file path, relative to the current directory. That means that it
cannot be an absolute file path (starting with /), nor can it
contain ../ as part of that path. The virtual attribute is probably
more useful, and should specify a URL relative to the document
being served. It can start with a /, but must be on the same server
as the file being served."
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.