April 13, 2020
Estimated Post Reading Time ~

Sling mapping /etc/map

You can test jcr resolving stuff under http://localhost:4502/system/console/jcrresolver
  • make /etc/map nt:unstructured so that you can order stuff there in crxde lite (sling:match regexes are applied from top to bottom)
  • I use only one level deep (/etc/map/foo, /etc/map/bar)
  • The string matched against sling:match regexes have the following format: <protocol>/<host>.<port><path> (for example, http/example.com.4502/content/mcdonalds/en.html)
  • you can use it to redirect /foo/bar/ to /content/site/en/foo/bar.html
  • not sure how short paths like /foo/bar/ will work with replication :P


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.