0

I am trying the same implementation as in http://www.cognifide.com/our-blogs/cq/sling-dynamic-include/

After the SDI OSGi configuration and dispatcher configs are done, the include tag --#include virtual="/path/to/resource" is requested with nocache.html selector, but the actual content is not getting displayed and the header section is removed from the page.

Any pointers what could be wrong.

Thanks.

Sriram
  • 13
  • 5
  • Can you provide some more details what the steps you have done.? – VAr Aug 15 '16 at 13:38
  • I managed to get this working by adding Options +Includes in the web server config which is not mentioned in SDI documentation in github. Not sure if this is related to the version I am using. Versions- aem 6.1, apache server 2.2.15, dispatcher 4.2.0. – Sriram Aug 17 '16 at 09:36
  • (1) In httpd.conf, added the below as i did not use vhost in local. ServerName 127.0.0.1 DocumentRoot D:/java/apachehttpserver/htdocs AddType text/html .html AddOutputFilter INCLUDES .html Options +Includes SetHandler dispatcher-handler AllowOverride None SetOutputFilter INCLUDES (2) cq included the header component in the boilerplate template – Sriram Aug 17 '16 at 09:38
  • is everything working for you with the SDI right now ? – ub1k Sep 19 '16 at 14:15
  • yes, it is working fine. – Sriram May 27 '17 at 11:51
  • Video that helps in configuring SDI - https://helpx.adobe.com/experience-manager/kt/platform-repository/using/sling-dynamic-include-technical-video-setup.html – Sriram Jun 17 '18 at 18:09

0 Answers0