无法找到资源。 
说明: HTTP 404。您正在查找的资源(或者它的一个依赖项)可能已被移除,或其名称已更改,或暂时不可用。请检查以下 URL 并确保其拼写正确。 请求的 URL: /newsinfo-3245.html

解决方案 »

  1.   

    先引用UrlRewriter.dll
    然后在web.config 
    <configuration>
    中加入
    <configSections>
    <section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter"/>
    </configSections>
    再在<system.web>下加入
    <httpHandlers>
    <add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter"/>
    </httpHandlers>
    就可以写你的规则了
    <RewriterConfig>
    <Rules>
    <RewriterRule>
    <LookFor>~/newsinfo/page(\d{1,9}).aspx</LookFor>
    <SendTo>~/newsinfo/page.aspx?uid=$1</SendTo>
    </RewriterRule>
    </Rules>
    <RewriterConfig>