Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
Hello All,
What rule to apply on dispatcher to block
http://localhost:4502/.json ??
Thanks,
Solved! Go to Solution.
@ShivaMn - There is a general default filter rule for denying json extension requests as below -
# Deny content grabbing for greedy queries and prevent un-intended self DOS attacks/0017 { /type "deny" /selectors '(feed|rss|pages|languages|blueprint|infinity|tidy|sysview|docview|query|[0-9-]+|jcr:content)' /extension '(json|xml|html|feed)' }
But these rules are valid on Dispatcher and not Author instance (4502).You can refer below URL for Dispatcher Filter rules -https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-c...
View solution in original post
Hi,
To block requests for URLs ending with ".json" on the Dispatcher, add the following rule in the dispatcher.any file:
/ {/type "deny"/url "*.json"}
Restart the Dispatcher service for the changes to take effect.
Views
Likes
Replies