Issue

  • After upgrading to CQ5.3 I can no longer access the site by excluding "/content" from the URL.
  • When I try to add the /content/-/ mapping back via the /system/console/configMgr ResourceResolver configuration then after we restart the server the change is lost.

Cause

The /content/-/ mapping was removed in CQ5.3 and the loading order of Apache Felix configurations have changed in the version of Felix that ships with CQ5.3.

For more information on the Felix configuration loading order in CQ5.3 see this article [1]

Resolution

You can re-enable the /content/-/ mapping by doing the following

  1. Log into /crx as admin
  2. Open Content Explorer
  3. Create the folder path /apps/sling/config using sling:Folder node types
  4. Copy this node /libs/sling/config/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl to /apps/sling/config/
  5. Add /content/-/ to the String property resource.resolver.mapping
  6. Click Save All

References

[1] Loading order Felix configuration

Licencia na používanie tohto diela sa poskytuje v súlade s podmienkami licencie Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Na príspevky v sociálnych sieťach Twitter™ a Facebook sa nevzťahujú podmienky licencií Creative Commons.

Právne upozornenia   |   Zásady ochrany osobných údajov online