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

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 9

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 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Below location is fine to work in all run mode

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



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

Below location is fine to work in all run mode

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



Arun Patidar