Skip to main content
Level 2
January 23, 2019
Question

etc.clientlibs resources not loaded with sling:mapping

  • January 23, 2019
  • 2 replies
  • 2015 views

I have created map.publish as below for we retail on a vanilla instance.

URL's are shortened. But when i try to load the page. everything loads except the resources rendered from etc.clientlibs. I added internal redirect to /etc.clientlibs too. But all the css/js gives a 404. Do we have any solution for this issue?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

VeenaVikraman
Community Advisor
Community Advisor
January 28, 2019

I am not sure if this will help , but can u check this Re: Not able to access etc.clientlibs on publish environment

Gaurav-Behl
Level 10
January 31, 2019

sling:mappings are not mandatory for this use case.

Allow 'clientlibs' extension in dispatcher and grant read ACL to anonymous user on '/etc' node or specific nodes. That should do the trick. I've tested that.