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

Эта работа лицензируется в соответствии с лицензией Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported  На посты, размещаемые в Twitter™ и Facebook, условия Creative Commons не распространяются.

Правовые уведомления   |   Политика конфиденциальности в сети Интернет