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!
Solved! Go to Solution.
Views
Replies
Total Likes
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.
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.
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.
Views
Likes
Replies