我正在尝试使用urlrewriter.net,并且我遵循了here的说明,但是当我运行它时,我得到了这个错误:
The element 'rewrtie' is not allowed.下面是我在web.config文件中添加的内容:
<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/ahmed.aspx" to="~/User/ahmed" />
</rewriter> 使用asp.net 3.5有什么问题,谢谢
发布于 2011-05-08 19:06:18
你有多少次阅读了这条消息,却没有注意到(就像你的用户名一样)有两个字母错了?
<rewrite url="~/User/Ahmed/ahmed.aspx" to="~/User/ahmed" />https://stackoverflow.com/questions/5927037
复制相似问题