IIS7.5 针对MVc3.0的配置:

0.确保安装了了MVC3.0等环境

1..NetFrameWork4.0 集成环境

2.处理映射程序中添加托管处理程序即可

IIS7.5 配置MVC3.0 伪静态,不能访问html伪静态页面

 

IIS7.5 配置MVC3.0 伪静态,不能访问html伪静态页面

 

<system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <!--<modules runAllManagedModulesForAllRequests="true"/>-->
        <handlers>
            <add name="html_PageHandlerFactory" path="*.html" verb="*" type="System.Web.UI.PageHandlerFactory" resourceType="Unspecified" preCondition="integratedMode" />
        </handlers>
  </system.webServer>

 

更多操作可参阅:http://www.cnblogs.com/Extreme/archive/2013/03/09/2951002.html

 

相关文章:

  • 2021-11-01
  • 2021-09-14
  • 2022-12-23
  • 2021-12-13
  • 2021-09-30
猜你喜欢
  • 2022-12-23
  • 2021-10-30
  • 2022-01-29
  • 2021-08-09
相关资源
相似解决方案