Forum Moderators: phranque
##### All I did was add the “+Includes” part.
<Directory />
Options FollowSymLinks +Includes
AllowOverride None
Order deny,allow
Deny from all
</Directory> ##### I simply UN-commented the 2 directives. This IfModule has more in it that I didn’t modify.
<IfModule mime_module>
#
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule> <!--#include virtual="ssi-top-logos.ssi" --> Something else to be aware of is if you have a PHP prepend, like some script running sitewide on all HTML and PHP pages, that Apache actually processes each included file with the PHP script as well. What this means is if you were running a bot blocker script for instance and had a page with 4 SSI includes, that it would run the bot blocker FIVE (5) times for one page! Once for the first page loaded and once for all 4 SSI scripts included.
<!--#config errmsg="[It appears that you don't know how to use SSI]" -->
Can't you tell it not to? "Run this script only if you're processing an .html page", that kind of thing (assuming html for the parent page and php for all the includes). Same principle as only stopping to check for Ukrainians if you're currently dealing with an html request.