Upper/Lower Case Regex Issue
2 posts
• Page 1 of 1
Upper/Lower Case Regex Issue
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,
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,
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests