Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

block .infinity.json requests for a specific URL

Avatar

Level 2

Hi all,
I want to block .infinity.json access for a particular page for example: /content/site/en/sensitive-page.infinity.json at the Dispatcher level while still allowing it for other pages. How can I set a specific Dispatcher filter rule to achieve this?

Thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @AnujaRa,

Try this:

/0001 {
  /type "deny"
  /url "/content/site/en/sensitive-page.infinity.json"
}

Make sure this rule is placed before the general rule that allows .json requests.

 


Santosh Sai

AEM BlogsLinkedIn


View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @AnujaRa,

Try this:

/0001 {
  /type "deny"
  /url "/content/site/en/sensitive-page.infinity.json"
}

Make sure this rule is placed before the general rule that allows .json requests.

 


Santosh Sai

AEM BlogsLinkedIn


Avatar

Level 5

Hi @AnujaRa ,

 

You can try this:-

 

/0001 {
  /type "deny"
  /url "/content/site/en/sensitive-page.infinity.json"
}
/0002 {
  /type "allow"
  /url ".*\\.infinity\\.json"
}

 

Let me know if it works.