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

Last update: 2023-10-02

Description

Sling Dynamic Includes content drops out, Apache error.log indicates “Options +Includes (or IncludesNoExec) wasn’t set” [ 1] even though Options +Includes is set in the vhost file:

 

< Directory />

    AddType text/html .html

    AddOutputFilter INCLUDES .html

    Options Indexes FollowSymLinks Includes

< /Directory>

 

[ 1]

[ Thu May 04 07:49:07.220011 2023] [ include:warn] [ pid 26367] [ client 10.15.99.253:52345] AH01374: mod_include: Options +Includes (or IncludesNoExec) wasn’t set, INCLUDES filter removed: /content/page.html

Resolution

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

< Directory “/var/www/html”>
    AddType text/html .html
    AddOutputFilter INCLUDES .html
    Options Indexes FollowSymLinks Includes
< /Directory>

On this page