Hey,

I have a large number of resources with sling:resourceType = old/handler

I don't want to modify their sling:resourceType property.  But, I want to
have old/handler actually resolve to  /apps/new/handler

For example, given a resource:
/content/mypage
whose sling:resourceType = old/hander,

GET /content/mypage.html
is handled by:
/apps/old/handler/html.jsp


Without modifying /content/mypage,  can I have the same GET request be
handled by:
/apps/new/handler/html.jsp   ?

I tried /etc/maps/oldToNew
sling:internalRedirect = /apps/new/handler$1
sling:match = .*/apps/old/handler(.*)

GET /apps/old/handler
does redirect to /apps/new/handler.
But, script resolution doesn't seem to use /etc/maps.

Reply via email to