Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Wildcard mapped ISAPI extension and custom error URL

$
0
0

Hi,

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 custom error 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, first 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 is there a way to detect it?

Thanks, Dominique


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>