Importing ISAPIRewrite v2 to v3 using native utility

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 3
Joined: 28 Nov 2013, 05:01

Importing ISAPIRewrite v2 to v3 using native utility

29 Nov 2013, 02:59

Hi,

I have several notes about how the convertion process work.

1. It set up the Compability flag in imported configuration file On
RewriteCompatibility2 On

But it converts rewrite flags to new format, adds ^...$ for each rule even the \A\Z rules added there. That's not useful at all for our first step to migrate.

I see that RewriteCompatibility2 works fine with old flags and \A\Z too. I.e. initially I only need to define several new rules at the top and copy my old rules w/o any major changes (just one only needed for me). I think this way utility needs to work by default or it can have the option to force this behavior.

Our project has many rules and several not simple - We worry to introduce many changes to working code at the first step of migration.

2. "RewriteCompatibility2 On" doesn't ignore v3 new thing that substitution groups with index > 9 should have duplicated dollar symbol. I spent more than one hour to detect it. The import utility doesn't warn about it or change it in needed way.

Thanks,
Sergey.

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Importing ISAPIRewrite v2 to v3 using native utility

29 Nov 2013, 05:24

Hello, Sergey

That's true - conversion utility only does basic transformations, but there is still a chance that some changes should be done manually.
If you need help converting URLs, you can send us your config and we'll do that.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 14 guests