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

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

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

1..NetFrameWork4.0 集成环境

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

 

 

<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

 

posted @ 2013-05-14 18:28  jackchain  阅读(664)  评论(0编辑  收藏  举报