Importing ISAPIRewrite v2 to v3 using native utility
2 posts
• Page 1 of 1
Importing ISAPIRewrite v2 to v3 using native utility
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.
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.
Re: Importing ISAPIRewrite v2 to v3 using native utility
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.
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.
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 14 guests