SSI Tutorial - Introduction
The SSI technology enables you to have a web server automatically include
information into web pages.
1. Enabling Server Side Includes
Traditionally, web pages required an .shtml extension to take advantage of SSI
directives. This still works.
Today, most web servers are set up to have .html files also work with SSI.
If not, you can use a .htaccess file.
Simply add the below lines to your .htaccess file.
Options +Includes
AddType text/html .shtml
AddHandler server-parsed .shtml
|
|
Accounts hosted by us can handle both extensions.
2. Using Server Side Includes
SSI directives are added to your web pages as if they were regular
html code.
If you want to include the current date, you'd include
the SSI directive where you want the date to show.