HttpModule默认处理aspx页面没有问题,但是如果在IIS上配置html也通过HttpModule处理时会出现死循环无法跳出html页面的问题,在web.config上加上

<add verb="*" path= "*.htm" type= "System.Web.StaticFileHandler"/></httpHandlers>

可解决。

相关文章:

  • 2021-12-23
  • 2022-12-23
  • 2021-11-27
  • 2021-10-10
  • 2021-11-22
  • 2021-10-17
  • 2022-03-03
  • 2021-07-02
猜你喜欢
  • 2022-02-26
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-06-20
  • 2022-12-23
  • 2021-12-05
相关资源
相似解决方案