<system.web>

      <httpHandlers>

<!--.html文件不是重写的html文件-->

<add verb="*"  path="*.html"  type="System.Web.UI.PageHandlerFactory" validate="true"/>  

<!--Url重写后的html文件-->     

            <add verb="*.html" path="*.html"   type="你的Url重写规则或方法"  />

       </httpHandlers>

  <compilation debug="false" >

            <buildProviders>

                <add extension=".html" type="System.Web.Compilation.PageBuildProvider" />

            </buildProviders>          

        </compilation>

         </system.web>

相关文章:

  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2021-08-25
  • 2022-12-23
  • 2021-05-29
猜你喜欢
  • 2021-08-22
  • 2021-07-08
  • 2021-06-15
  • 2022-12-23
  • 2021-11-28
相关资源
相似解决方案