0
我正在使用Intelligencia进行网址重写功能。用扩展名重写网址
<configSections>
<section name="rewriter" requirePermission="false"
type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"/>
</configSections>
以下排除其工作罚款我的搜索页面
<rewrite url="~/search/(.+).aspx" to="~/search.aspx?type=$1"/>
,但我需要用下面写规则
<rewrite url="~/search/(.+)" to="~/search.aspx?type=$1"/>
我的搜索页。如果我上述规则我是运行获取页面未找到错误。
Plz建议我在IIS中有任何设置。
有什么理由不使用asp.net路由?我觉得它是一个更优雅的解决方案。 – walther 2012-03-27 15:36:32
您使用的是哪个版本的IIS? – Curt 2012-03-27 15:36:49
IIS 6.0版本 – Sree 2012-03-27 15:38:44