Upper/Lower Case Regex Issue

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 12
Joined: 25 Jan 2013, 14:44

Upper/Lower Case Regex Issue

01 Feb 2013, 17:43

How do you make the text to test case insensitive?

this URL works and the rewrite is NOT applied:

https://www.site.com/api/docs/?accessID=345345

If the case is changed on "docs", the rewrite applies:

https://www.site.com/api/dOCs/?accessID=345345

My config:

RewriteEngine On
RewriteBase /api/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{PATH_INFO} !(docs?)

RewriteRule .? index.cfm/%{REQUEST_URI} [QSA,L]

Thanks,

User avatar
Posts: 12
Joined: 25 Jan 2013, 14:44

Re: Upper/Lower Case Regex Issue

01 Feb 2013, 17:58

Resolved.

Added [NC]

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 0 guests