Compatible with IIS 6?

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 6
Joined: 07 May 2014, 16:23

Compatible with IIS 6?

07 May 2014, 16:27

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!

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Compatible with IIS 6?

07 May 2014, 17:48

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

User avatar
Posts: 6
Joined: 07 May 2014, 16:23

Re: Compatible with IIS 6?

08 May 2014, 12:12

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.

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Compatible with IIS 6?

08 May 2014, 17:01

Try something like:

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

User avatar
Posts: 6
Joined: 07 May 2014, 16:23

Re: Compatible with IIS 6?

08 May 2014, 17:03

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.

User avatar
Posts: 6
Joined: 07 May 2014, 16:23

Re: Compatible with IIS 6?

02 Jun 2014, 07:08

Wait, where you wrote:
Sure, ISAPI_Rewrite3 is made for IIS7.

Are you saying this product will or will not run on IIS 6?
Thank you.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 11 guests