url重写的问题

我使用的是微软的dll
在webconfig里是这样设置的
<configSections>
    <section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" />

  </configSections>
  <RewriterConfig>
    <Rules>
      <RewriterRule>
        <LookFor>~/Group/(.*).aspx</LookFor>
        <SendTo>~/Group/GroupInfo.aspx?GroupID=$1</SendTo>
      </RewriterRule>
    </Rules>
  </RewriterConfig>

<httpHandlers>
      <add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter" />
    </httpHandlers>

问题是
我输入http://xxx.com/Group/17.aspx是可以重写到
http://xxx.com/Group/GroupInfo?GroupID=17
但是我点Group目录下别的页面时都会报错,不知道为什么

posted @ 2007-09-11 15:16  WEBBER  阅读(346)  评论(2编辑  收藏  举报