My site is getting DOS attack with POST VERB, my site is a static site and I am trying to stop any POST action on the home page.
I had the URL Rewrite installed on my server, so I am trying to write rule to abort POST on homepage, but it is not working. Any other ideas to stop the POST on the homepage alone?
<rewrite>
<rules>
<rule name="Remove Home Page Post">
<match url="/default.aspx" />
<conditions>
<add input="{HTTP_METHOD}" pattern="post" />
</conditions>
<action type="AbortRequest" />
</rule>
</rules>
</rewrite>