I am trying to use Dynamic IP Restriction for IP based request Throttling in ASP.NET, all the requests to my server are getting throttled as per "denyByRequestRate" element attribute specified in web.config. Now I want to exclude certain paths from being throttled (eg. "/Content" folder which contains all the static .js and .css files).
I tried having a separate child web.config for the "/Content" sub-directory to override the action. As per the accepted answer mentioned here. But it doesn't work.
Also tried using "location" element in web.config to use "denyByRequestRate" for certain locations but that also doesn't work.
Is there any way this can be achieved?