简体   繁体   English

iis6网址重定向

[英]iis6 url redirecting

i always use iis 7 in my projects till now. 到目前为止,我一直在项目中使用iis 7。 and my url rewriting system was redirecting 404 errors to a pagenotfound.aspx page in iis7 then find the url mathces with the coming one and redirect it 我的URL重写系统重定向404错误在IIS7一个pagenotfound.aspx页面,然后找到网址与未来的一个,并将其重定向符合项目

forexample 例如

if request is http://www.mysite.com/productname i will redirect it to the http://www.mysite.com/products.aspx?id=33 如果请求是http://www.mysite.com/productname,我会将其重定向到http://www.mysite.com/products.aspx?id=33

but now i have to use iis 6 for my customer in my new project and i am wondering about if this method possible in iis 6 too? 但是现在我必须在新项目中为客户使用iis 6,并且我想知道iis 6是否也可以使用此方法吗? and can it be done with the same way or is there any difference if it is possible? 可以用相同的方式完成吗?如果可能的话,有什么区别吗?

thanks 谢谢

Custom Error in II6 pretty much work in exactly the same way. II6中的自定义错误几乎以完全相同的方式工作。 Open the properties of the website, you will see a "Custom Errors" tab which will give you access to them. 打开网站的属性,您将看到“自定义错误”选项卡,您可以通过它访问它们。

If you're talking about "URL Rewrite" style module for IIS6, there is one called IIRF (Ionics Isapi Rewrite Filter) which can be found here . 如果您正在谈论IIS6的“ URL Rewrite”样式模块,则可以在此处找到一个称为IIRF(Ionics Isapi Rewrite过滤器)的模块。

Edit - I've never used IIRF, so can't comment on how similar or usable it is in comparison to the official URL Rewrite for IIS7 编辑 -我从未使用过IIRF,因此无法评论它与IIS7的官方URL Rewrite相比有多么相似或可用。

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

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