开发者

urlrewriter.net The element 'rewrtie' is not allowed

i am trying to use urlrewriter.net and i followed instructions here but when i run it i get this error:

The element 'rewrtie' is not allowed.

here is what i added in my web.config file:

<httpModules>
    <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter"/>
</httpModules>

<modules runAllManagedModulesForAllRequests="true">
    <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule" />
</modules>

  <configSections>
  <section name="rewriter"
            requirePermission="false"
            type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />

<rewriter>
    <rewrtie url="~/User/Ahmed/ahme开发者_如何学运维d.aspx" to="~/User/ahmed" />
</rewriter> 

using asp.net 3.5 what is the problem , thanks


How many times have you read the message, and not noticed (much as with your username) that two of the letters are the wrong way around?

<rewrite url="~/User/Ahmed/ahmed.aspx" to="~/User/ahmed" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜