Modifying/Removing default Sling mappings | Community
Skip to main content
blkhatpersian
February 24, 2016
Solved

Modifying/Removing default Sling mappings

  • February 24, 2016
  • 2 replies
  • 977 views

Hi,

I noticed there are default mappings in Sling when I went to the configuration for the Resource Resolver Factory. These mappings include the regex "^[^/]+[^/]+/projects".

 The /etc/map/ directory is empty and I did not know where to look in the other OSGI bundles. Could someone point me in the right direction please?

Thank you,

Ali
 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Amit_Kumar

blkhatpersian wrote...

Hi,

I noticed there are default mappings in Sling when I went to the configuration for the Resource Resolver Factory. These mappings include the regex "^[^/]+[^/]+/projects".

 The /etc/map/ directory is empty and I did not know where to look in the other OSGI bundles. Could someone point me in the right direction please?

Thank you,

Ali
 

 

These mapping is coming from root mapping, vanity url and redirect mappings.

i.e go to /system/console/configMgr.html and search for Root mapping and you can see this for yourself.

2 replies

Amit_Kumar
Amit_KumarAccepted solution
February 24, 2016

blkhatpersian wrote...

Hi,

I noticed there are default mappings in Sling when I went to the configuration for the Resource Resolver Factory. These mappings include the regex "^[^/]+[^/]+/projects".

 The /etc/map/ directory is empty and I did not know where to look in the other OSGI bundles. Could someone point me in the right direction please?

Thank you,

Ali
 

 

These mapping is coming from root mapping, vanity url and redirect mappings.

i.e go to /system/console/configMgr.html and search for Root mapping and you can see this for yourself.

blkhatpersian
February 24, 2016

Hi Amit,

I did see the root mapping, but the other mappings is what I'm confused on. Where do they originate from?

Thanks,

Ali