Rewrite Rule - Migration from V2.0

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 1
Joined: 21 Mar 2012, 08:52

Rewrite Rule - Migration from V2.0

21 Mar 2012, 09:02

Hi,

I have a url that looks like the following

http://mydomain.com/insufficient/-/TOt3c0AqzIqC+g2j82fmAue1=

using v2.0 i using the following rule and it was working fine

Code: Select all
RewriteRule /insufficient/-/(.*) /redirect.aspx?a=$1 [I,L]


I changed to the following under v3.0 and it doesn't work.

Code: Select all
RewriteRule ^/insufficient/-/(.*)$ /redirect.aspx?a=$1 [I,L]


If i take the "+" symbol out of the url i.e. http://mydomain.com/insufficient/-/TOt3c0AqzIqCg2j82fmAue1= it will work, but not with the "+". How can i make the work when a "+" appears?

Thanks for your help

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

Re: Rewrite Rule - Migration from V2.0

21 Mar 2012, 10:32

Hello,

Are you using ISAPI_Rewrite 3 on IIS 7?
It's IIS 7 that doesn't like plus chars in URLs.
Here's the solution.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 26 guests