ASP.NET global.asax Application_Error fires for all pages except .php extensions.
On IIS:
- "Web Service Extensions" does have PHP set to allowed.
- I have the PHP isapi filter on the web site.
- I recycled my defaultAppPool.
- Did the IIS reset.
Still i cannot get the Application_Error to fire when viewing a php page that does not exist. When browsing to a开发者_Python百科 php file that does exist the browser displays it perfectly.
Any ideas out there?
Thanks! Lance
Uhm global.asax is only fired by the asp.net backend of iis. The PHP compiler has nothing to do with that and uses an totally different compiler etc.
In other words: not possible. And from an architectural standpoint I'm wondering why you would even want that.
精彩评论