1
我想使用urlrewriter.net我跟着指示here但是當我運行它,我得到這個錯誤:urlrewriter.net元素「rewrtie」是不允許
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 我謝謝
大約有2天沒有睡覺對不起,謝謝(我的用戶名,就是要這種方式不是一個錯誤) – Wahtever 2011-05-08 11:09:26
即使他的用戶名拼寫錯誤。哈哈。癲癇很多? – Marko 2011-05-08 11:12:35