Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
as discusesd in mail thread http://apache-sling.73963.n3.nabble.com/contextaware-config-Default-configuration-and-naming-td4064399.html we should change:
- default folder name to /conf
- rename the sling:config property name to sling:config-ref
- and change the way default configuration is detected by following the example below
for a content structure like this
/content /tenant1 - context path /content/tenant1 /region1 - context path /content/tenant1/region1 /site1 - context path /content/tenant1/region1/site1 /page1
the configuration is looked up at this paths (in this order)
/conf/tenant1/region1/site1 /conf/tenant1/region1 /conf/tenant1 /conf/global /apps/conf /libs/conf