Wednesday, April 27, 2011

sling mapping /etc/map

You can test jcr resolving stuff under http://localhost:4502/system/console/jcrresolver

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

No comments:

Post a Comment