web.config 配置兼容 IIS7 II6

其实很简单在IIS6下面能正常运行的Web.config里添加:
<system.webServer>
  <validation validateIntegratedModeConfiguration="false"/>
  <modules>
      <add name="..." type="..."/>
  </modules>
  <handlers accessPolicy="Read, Write, Script, Execute">
      <add path="..." name="..." type="..." verb="..." />
  </handlers>
 </system.webServer>

你可能感兴趣的:(config)