Compatible with IIS 6?
6 posts
• Page 1 of 1
Compatible with IIS 6?
I was searching for a URL rewrite tool for IIS. There is a very popular URL Rewrite module, but that only works with IIS 7. My server is running IIS 6. Next, I discovered Helicon Tech's ISAPI_Rewrite 3. Can anyone tell me for sure if ISAPI_Rewrite 3 will work on a server running IIS 6? Thank you!
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Compatible with IIS 6?
Hello,
Sure, ISAPI_Rewrite3 is made for IIS7. However, I need to make sure you realize the syntax it's using, please, see - http://www.helicontech.com/isapi_rewrit ... amples.htm, it's not the same as URL Rewrite.
Regards
Sure, ISAPI_Rewrite3 is made for IIS7. However, I need to make sure you realize the syntax it's using, please, see - http://www.helicontech.com/isapi_rewrit ... amples.htm, it's not the same as URL Rewrite.
Regards
Re: Compatible with IIS 6?
I would like to be able to having "friendly" URLs, such as:
http://www.domain.com/keyword1/keyword2/keyword3
…resolve to URLs with query string variable, such as:
http://www.domain.com/catalog.asp?keywo ... yword3=ghi
Is this possible with ISAPI_Rewrite 3?
Thank you.
http://www.domain.com/keyword1/keyword2/keyword3
…resolve to URLs with query string variable, such as:
http://www.domain.com/catalog.asp?keywo ... yword3=ghi
Is this possible with ISAPI_Rewrite 3?
Thank you.
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Compatible with IIS 6?
Try something like:
Regards
Andrew
- Code: Select all
RewriteEngine on
RewriteBase /
RewriteCond %{QUERY_STRING} ^keyword1=([^&]+)&keyword2=([^&]+)&keyword3=([^&]+)$ [NC]
RewriteRule ^catalog\.asp$ /%1/%2/%3? [NC,R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/([^/]+)$ /catalog.asp?keyword1=$1&keyword2=$2&keyword3=$3 [NC,L]
Regards
Andrew
Re: Compatible with IIS 6?
Great, thank you. I haven't installed the product yet, wanted to make sure it would work, but it sounds like it will do what I need it to.
Re: Compatible with IIS 6?
Wait, where you wrote:
Are you saying this product will or will not run on IIS 6?
Thank you.
Sure, ISAPI_Rewrite3 is made for IIS7.
Are you saying this product will or will not run on IIS 6?
Thank you.
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests