SDI content drops out, Apache error, “INCLUDES filter removed”

This article provides resolution to the Sling Dynamic issue that Includes (SDI) the content drop out and the Apache error.log indicates “INCLUDES filter removed”.

Description description

Environments

  • Adobe Experience Cloud (AEC)
  • Adobe Experience Manager (AEM)

Issue

Sling Dynamic Includes (SDI) content drop out and the Apache error.log indicates that "Options +Includes (or IncludesNoExec) wasn’t set [ 1] even though the Options +Includes is set in the vhost (virtual host documentation) file:

<Directory />    AddType text/html .html    AddOutputFilter INCLUDES .html    Options Indexes FollowSymLinks Includes</Directory>


[ include:warn] AH01374: mod_include: Options +Includes (or IncludesNoExec) wasn’t set, INCLUDES filter removed: /content/page.html
 

Resolution resolution

Specify the document root folder explicitly, for example, in this case,  “/var/www/html”, inclusive of the quotation marks.

<Directory “/var/www/html”>    AddType text/html .html    AddOutputFilter INCLUDES .html

Options Indexes FollowSymLinks Includes
</Directory>

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f