您的位置:首页 > Web前端 > HTML

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

2013-05-14 18:28 731 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐