关于Httpmodule
songq 2009-04-09 10:26:20 基于IIS5.
我想实现在httpmodules中能够处理.htm的静态页面请求,不知如何来做?
我现在的做法是:
1. 已经在IIS5中将.htm映射到aspnet_isapi.dll,并且check that file existing 也uncheck了
2. web.config中也已经配置好了我的httpmodule实现类
但是http://localhost/WebApp/test.htm还是出错404,不能找到该文件。
而http://localhost/WebApp/test.aspx执行并显示httpmodule里的输出。
弄了好几天了没有搞定,请不吝赐教,多谢多谢。