Wildcard mapped ISAPI extension and custom errors RRS feed

  • Question

  • User1246930608 posted


    I have a wildcard mapped ISAPI extension, and when I tell IIS that I do *not* want to handle the request, I use HSE_REQ_EXEC_URL with a setting of HSE_EXEC_URL_IGNORE_CURRENT_INTERCEPTOR, which works fine. This flag, however, prevents my extension from being called again when my extension "declines" a request that ultimately results in an HTTP error code (e.g. 404) mapped to a URL. 

    If I do *not* specify HSE_EXEC_URL_IGNORE_CURRENT_INTERCEPTOR, my extension is called again with the custom error URL, which is exactly what I want, and the first tests show that my extension is never called more than twice, once for the original URL, then for the custom error URL.

    My question: is it possible that my extension is called more than twice, possibly infinitely many times, and what are the ways to detect it?

    Thanks, Dominique

    Thursday, February 21, 2013 12:18 PM

All replies