Saturday, 8 March 2014

Case-Insensitive Redirect


<LocationMatch "(?i)^/Site/Website(.*)$">
                RedirectMatch "(?i)^/Site/Virtual(.*)$" http://example.com/Site/Virtual

</LocationMatch>

(?i): how we tell the matching engine to treat the text in a case-insensitive manner.

No comments:

Post a Comment