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
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar
Validate 25
Level 4
jayv25585659
Level 4

Likes

46 likes

Total Posts

125 posts

Correct Reply

0 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Validate 25
Level 4
jayv25585659
Level 4

Likes

46 likes

Total Posts

125 posts

Correct Reply

0 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
jayv25585659
Level 4

15-11-2020

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

Configuration osgi

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,357 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,357 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

17-02-2021

Hi,

Below location is fine to work in all run mode

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