What are Server Side Includes?
Server Side Includes or SSI allow the use of shared common code such as headers, footers, and left navigation created in one file and shared through the use of "includes" throughout the site. The advantage is that only one file needs to be updated when a global change is made.
SSI can even be used when there are slight differences from page to page as it supports the use of conditional logic. For example, you can tell your SSI to include a link to your program's homepage in the footer except when you are on the home page.
Typically, sites that use SSI must use the ".asp" or ".shtml" file extension to let the server know that SSI is in use. ITD web servers (Windows Platform) are setup to only allow the use of SSI on all files with ".asp" or ".shtml, shtm" file extensions.
Server Side Includes and Performance Considerations -
Why the .shtml extension is used If an html document contains
"Server Side Includes" that means that it includes special
commands for the Server to process. This is normally how things
like counters are done on basic web pages.
Standard Version (conventional):
FrontPage Version (using FrontPage Extensions):
If you have a question that is not addressed in these pages, please send an email to firstname.lastname@example.org.
Last Modified: February 1, 2008