SDI-innehåll tas bort, Apache-fel, INCLUDES-filter tas bort

I den här artikeln finns en lösning på problemet med Sling Dynamic som inkluderar (SDI) att innehållet tas bort och Apache-felet.log anger att INCLUDES-filtret tagits bort.

Beskrivning description

Miljöer

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

Problem

Sling Dynamic Includes-innehåll (SDI) tas bort och Apache-felet.log anger att "Options +Includes (eller IncludesNoExec) inte har angetts [ 1] även om Alternativ +Includes är inställt i Vhost-filen (dokumentationen för det virtuella värdsystemet):

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


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

Upplösning resolution

Ange dokumentets rotmapp explicit, i det här fallet,  “/var/www/html”, inklusive citattecknen.

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

Options Indexes FollowSymLinks Includes
</Directory>

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