在IIS与.net框架中配置中把扩展名.aspx改成自定义的扩展名.mspx

12/9/2006来源:ASP.NET技巧人气:11163

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>