Here you can search and view our site Knowledge Base. To find a specific article, use KB-article number format (ex. KB-1)
Article number: kb-29
Q. How to setup SSI to work?
A.Enable the Includes module
Server Side Includes are a very simple way of performing a limited Server Side Programming. For instance, you can have the server assemble one single document by merging smaller ones (with the #include directive), you can display data on the file itself (with the date_local directive, and many more), and if security is none of your concern, you can even execute local programs.
In order to get server side includes to work, the include module also needs to be loaded. You can do this by
executing the following as root:
# a2enmod include
or
# sudo a2enmod include
This creates a symlink in mods-enabled of the config file in mods-available.
Restart Apache
For the changes to take effect you will need to restart Apache with