How do I configure a module to run before authentication? It is clear how to do that in IIS7, but in IIS6 I can't manage them in IIS configuration snap-in.
If the ASP.NET application is running under IIS 6.0, you can use HTTP modules to customize requests for resources that are serviced by ASP.NET. This includes ASP.NET Web pages (.aspx files), Web services (.asmx files), ASP.NET handlers (.ashx files), and
any file types that you have mapped to ASP.NET. If the ASP.NET application is running under IIS 7.0, you can use HTTP modules to customize requests for any resources that are served by IIS. This includes not just ASP.NET resources, but HTML files (.htm or
.html files), graphics files, and so on. For more information, see ASP.NET Application Life Cycle Overview for IIS 5.0 and 6.0 and
ASP.NET Application Life Cycle Overview for IIS 7.0.
Member
79 Points
105 Posts
run a module before authentication in IIS6
Nov 11, 2013 10:48 AM|Bogdan1024|LINK
How do I configure a module to run before authentication? It is clear how to do that in IIS7, but in IIS6 I can't manage them in IIS configuration snap-in.
httpmodule asp.net
Participant
1443 Points
520 Posts
Re: run a module before authentication in IIS6
Nov 19, 2013 08:50 PM|Ericzh|LINK
Hi,
If the ASP.NET application is running under IIS 6.0, you can use HTTP modules to customize requests for resources that are serviced by ASP.NET. This includes ASP.NET Web pages (.aspx files), Web services (.asmx files), ASP.NET handlers (.ashx files), and any file types that you have mapped to ASP.NET. If the ASP.NET application is running under IIS 7.0, you can use HTTP modules to customize requests for any resources that are served by IIS. This includes not just ASP.NET resources, but HTML files (.htm or .html files), graphics files, and so on. For more information, see ASP.NET Application Life Cycle Overview for IIS 5.0 and 6.0 and ASP.NET Application Life Cycle Overview for IIS 7.0.
http://msdn.microsoft.com/library/ms227673.aspx
Besides, I found the same issue you asked which you could refer to:
http://forums.iis.net/p/1203352/2062545.aspx?Re+run+module+before+authentication
http://forums.iis.net/t/1203392.aspx?run+IHttpModule+before+authentication
httpmodule asp.net