Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Where can I place this OSGI config file org.apache.sling.security.impl.ReferrerFilter.xml so it\'s picked up in both 6.5 author and publisher?

Avatar

Level 8

as above.

I just want 1 copy of the file in my code base.

As additional info:

the 6.5 author and publisher are sandbox instances setup for us by AMS so we can test our code before we upgrade to 6.5.x.

----------------------
6.5 author

I placed the XML file inside ui.apps/src/main/content/jcr_root/apps/mysite/configs/config. When I checked system/console/configMgr => Apache Sling Referrer Filter, the config stored in the XML file was picked up.

----------------------
6.5 publisher

I placed the XML file in these 2 locations in our 6.5 publisher

  • ui.apps/src/main/content/jcr_root/apps/mysite/configs/config (same location that worked in author)
  • ui.apps/src/main/content/jcr_root/apps/mysite/config

When I checked system/console/configMgr => Apache Sling Referrer Filter, AEM did not pick up the changes inside the file.

If I placed the XML file inside ui.apps/src/main/content/jcr_root/apps/mysite/configs/config.publish, it is working as intended.

----------------------

Any ideas on how to fix? Thanks

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Community Advisor

Hi,

Below location is fine to work in all run mode

ui.apps/src/main/content/jcr_root/apps/mysite/config