try...<RewriterRule>
    <LookFor>~/(.*?)\.html</LookFor>
    <SendTo>~/$1.aspx</SendTo>
</RewriterRule>

解决方案 »

  1.   

    <RewriterRule>
        <LookFor>~/(.*?)\.html</LookFor>
        <SendTo>~/$1.aspx</SendTo>
    </RewriterRule>
    如果我要排除 user 文件夹下的页面 不做伪处理操作  该怎么操作啊?  因为user  有test.html的静态页面 现在也被 转换成   URL:     /user/test.aspxl了 
      

  2.   

    try...<RewriterRule>
        <LookFor>~/(?!user/)(.*?)\.html</LookFor>
        <SendTo>~/$1.aspx</SendTo>
    </RewriterRule>