Is Apache configured to preprocess .tpl
files as Server-Side Includes? If not, it will ignore SSI directives in those files.
The section on 'Enabling Server-Side Includes' in the mod_include documentation has details on how to configure this. You'll need to ensure that .tpl
is present in the AddType
and AddOutputFilter
directives.