この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Hi,
I am trying to use the SDI in AEM 6.2 (no service packs). I've installed the Sling Dynamic Include bundle (3.0.0) on my publish instance and configure all the required parameters. However, its generating the <!-- SDI include (path: /content/geometrixx/en/services/_jcr_content/par/title.nocache.html, resourceType: geometrixx/components/title) --> but its not generating the the <!--#include virtual=""--> markup as shown in the in this demo.
Any fix for this?
Thanks.
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Hi Rohit,
I was able to make it work. It was a apache config change. There was a small syntax change between Apache 2.2 and 2.4 causing this issue. This is fixed now.
Thanks for your willingness to help.
Thanks.
表示
返信
いいね!の合計
Hi,
Please add AddOutputFilter INCLUDES .html in your virtual host entry in httpd.conf file.
or you can modify your virtual host file as below and include the same in httpd.conf file.
<VirtualHost *:8080>
<Directory />
<IfModule disp_apache2.c>
ModMimeUsePathInfo On
# enable dispatcher for ALL request. if this is too restrictive,
# move it to another location
SetHandler dispatcher-handler
</IfModule>
Options FollowSymLinks Includes
AllowOverride None
AddOutputFilter INCLUDES .html
</Directory>
DocumentRoot "C:\\AEM\\htdocs"
ServerName aem-publish.local
ErrorLog "logs/vhost-error.log"
CustomLog "logs/vhost-access.log" common
</VirtualHost>
where ServerName aem-publish.local is host name I have setup for my local in hosts file.
Regards
Rohit
表示
返信
いいね!の合計
Hi,
I have already added all these as mentioned in the article.
Thanks.
表示
返信
いいね!の合計
Hi,
Can you please attach zip of your apache and sdi config, I will have a look and resolve the issue.
Thanks.
表示
返信
いいね!の合計
Hi,
It suppose to get this on publish instance. But this is not working on publish. If it works on publish then it will work o dispatcher as well.
Thanks.
表示
返信
いいね!の合計
Hi Rohit,
I was able to make it work. It was a apache config change. There was a small syntax change between Apache 2.2 and 2.4 causing this issue. This is fixed now.
Thanks for your willingness to help.
Thanks.
表示
返信
いいね!の合計
Hi Rohit,
Can you please post the details what was causing issue b/w version 2.2 and 2.4 and attached config zip. It can helps others
表示
返信
いいね!の合計
Hi noksc
I am also facing the same issue on 2.4, Can you please post the resolution here?
表示
返信
いいね!の合計
Hi,
I had to add a path to the directory shown below:
<Directory /var/www/html/geometrix-outdoors>
<IfModule disp_apache2.c>
ModMimeUsePathInfo On
SetHandler dispatcher-handler
</IfModule>
Options FollowSymLinks
AllowOverride None
</Directory>
Double check the Apache configuration. See my article here: http://aempodcast.com/2017/infrastucture/multi-domain-dispatcher-configuration/#.WiOCokqnHIU
Let me know if you still face issues. I can help.
表示
返信
いいね!の合計