Hi All,
Happy new Year.
I am trying to configure the internal redirects in AEM 6.4 publishers. The requirement is to redirect the base url to the correct landing page.
I have done the below things:
1. created map.publish.env nodes under /etc with the sling:match and sling:internalRedirect values.
2. verified the "Apache Sling Resource Resolver Factory" in configMgr for correct node being provided for the mapping
3. In the jcrresolver /system/console/jcrresolver, I have verified below:
Namespace Mangling - Enabled
Mapping Location - map.publish.env
Configuration Test is also successfully resolving the url to the specific path.
But after this during the testing of the url in browser, It says below:
The requested URL / was not found on this server.
Could someone please help me if am missing something? It would be very helpful.
Thanks,
Arun.
Solved! Go to Solution.
Views
Replies
Total Likes
Can you check if the mapping was actually applied by AEM:
- Go to http://<host>:<port>/system/console/jcrresolver
- Under "Mapping Map Entries", check if the entries are appearing there.
You can also setup a DEBUG logger on "org.apache.sling.resourceresolver" to check how the resolution is happening and which resource resolver settings are being applied.
Views
Replies
Total Likes
My best guess is that it's a permission thing. Login with "admin" via CRXDE and then do the same request again to validate this assumption.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Can you check if the mapping was actually applied by AEM:
- Go to http://<host>:<port>/system/console/jcrresolver
- Under "Mapping Map Entries", check if the entries are appearing there.
You can also setup a DEBUG logger on "org.apache.sling.resourceresolver" to check how the resolution is happening and which resource resolver settings are being applied.
Views
Replies
Total Likes