Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Modifying/Removing default Sling mappings

Avatar

Level 3

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
 

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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.

Avatar

Level 3

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