Pipeline-free URL Redirects is not working in AEM Cloud Dispatcher
Hi All, I am trying to implement the Redirect Map Manager in AEM Cloud as per the below documentation
https://adobe-consulting-services.github.io/acs-aem-commons/features/redirect-map-manager/index.html
Redirect map manager is working in AEM Cloud latest i created the entries then i followed the below documentation for configuring the dispatcher for rewrites
https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/content-delivery/pipeline-free-url-redirects
I have created the managed-rewrite-maps.yaml file and added the below code
maps:
- name: my.map
path: /content/dam/redirectmaps/mysite-redirectmap.txt
i have the redirectmap file in the mentioned location and added this in rewrite.rules
# RewriteMap from managed rewrite maps
RewriteMap map.foo dbm=sdbm:/tmp/rewrites/my.map
RewriteCond ${map.foo:$1} !=""
RewriteRule ^(.*)$ ${map.foo:$1|/} [L,R=301]
I am getting the error as below
AH00526: Syntax error on line 11 of /etc/httpd/conf.d/rewrites/rewrite.rules:
RewriteMap: file for map map.foo not found:/tmp/rewrites/my.map.dir
tried to use different paths in rewrite.rules
RewriteMap map.foo txt:/content/dam/redirectmaps/mysite-redirectmap.txt
but it dint worked any help on how to get or reference the redirectmap file in aem cloud dispatcher.