简体   繁体   中英

iis6 url redirecting

i always use iis 7 in my projects till now. 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

forexample

if request is http://www.mysite.com/productname i will redirect it to the 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? 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. 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 .

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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