ASP.NET中把扩展名.aspx改成自定义的扩展名.mspx,如何在IIS与.net框架中配置
1.IIS映射:
.mspx ----> C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll
限于:GET,HEAD,POST,DEBUG
2.web.config
<configuration>
<system.web>
<httpHandlers>
<add verb="*" path="*.mspx" type="System.Web.UI.PageHandlerFactory" />
</httpHandlers>
</system.web>
</configuration>
.mspx ----> C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll
限于:GET,HEAD,POST,DEBUG
2.web.config
<configuration>
<system.web>
<httpHandlers>
<add verb="*" path="*.mspx" type="System.Web.UI.PageHandlerFactory" />
</httpHandlers>
</system.web>
</configuration>