We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Rovastar Rovastar

    5495 Posts



    Re: Rule works on one server but does not work on another, pull my hair out

    Apr 10, 2019 05:27 PM|Rovastar|LINK

    You will need to install tracing to really see what is happening. And compare dev to prod with the same requests in a side-by-side test.

    Other than that have you tried to recreate the exact conditions on prod and dev?

    e.g. you have a actual user agent that fails on prod but works on dev? (using for example some user-agent switcher in the browser)

    Do ANY get blocked?! (that is probably tricky to tell it might be better initially to pass back a status code like 403 or something (maybe with a unique subcode) instead of an abort request so you can see them in the logs.)


    Troubleshoot IIS in style