IHttpModule error event does not fire for pages without aspx

I created a module and placed it in iis7 integrated mode.

The BeginRequest event is always triggered for any request, both aspx and html / php / of any extension.

But the Error event only triggers aspx extensions, but works in cassini.

I tried: <modules runAllManagedModulesForAllRequests="true">

It is registered in system.webserver as well as system.web.

Any ideas why this behavior is happening?

+3
source share
1 answer

Alas, you will not get anything; IIS will only increase errors for managed handlers.

: PhP, EndRequest PostRequestHandlerExecute HTTP 500 . , , .

+1

Source: https://habr.com/ru/post/1773104/


All Articles