简体   繁体   English

urlrewriter.net可在ASP.NET Web服务器上工作,但不能在IIS 6共享主机上工作

[英]urlrewriter.net work on ASP.NET web server but not on IIS 6 shared hosting

anyone know how to "make work" urlrewriter.net component on IIS 6 ? 有人知道如何在IIS 6上“使工作” urlrewriter.net组件吗? Actually i have this web.config section : 其实我有这个web.config部分:

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

And the rule is, for example: 规则是,例如:

<rewrite url="~/tag/(.+)" to="~/default.aspx?tag=$1" />

It's work on the ASP.NET Developmnet server, but not when i go to my shared hosting web site !!! 它可以在ASP.NET Developmnet服务器上工作,但是当我转到共享的托管网站时却无法使用! :( :(

Thank you in advance ! 先感谢您 !

You need to ask your hosting provider to add a wildcard mapping to make the ASP.Net ISAPI handler execute for all requests. 您需要让您的托管服务提供商添加通配符映射,以使ASP.Net ISAPI处理程序对所有请求执行。

Instructions (Scroll down to IIS6 Extension-less URLs) 说明 (向下滚动至IIS6无扩展名的URL)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM