I have developed a HTTP Module which I have installed on IIS7 at SERVER level from the UI. I want this module to work across all sites on the server. As far as I am aware when you install a module at server level an entry is made into applicationhost.config only (the individual web.configs are not altered).
The module works fine for sites or applications where the application pool is set to Default App Pool, but if Classic .NET AppPool is used the INIT event in my module doesn't fire. I have read a few posts where people are putting HTTP modules in specific sites and it says you need to add the module to the web.config in both the System.Web and System.WebServer sections like this link indicated....
http://bhaidar.net/cs/archive/2007/09/12/httpmodules-and-iis-7.aspx
But my situtaion is slightly different as I have added it to the complete server and the applicationhost.config ONLY has the webserver section.
So any ideas how to get a server level HTTP Module to work with both Default App Pool and Classic .NET AppPool?
Thanks in advance