change uppercase letters in url to lowercase

Jun 6, 2013 at 3:32 PM
Can you please help me with following.
im looking to rewrite a url which has uppercase letters to lowercase letters
RedirectRule ^/(.[A-Z].)$$1#E [R=301]

it works great and converts all upppercase letters to lowercase.
however i have some urls which has CFIDE and that needs to have uppercase in the url. so i put in an eclusion rule for that url but now its not possible how many scenarios i iwll have like that. so instead of that
i have three mail urls that i need to make sure they are lower cased
im able to convert all the characters after ? to lowercase. no issues with that. but if i have uppercase letters in newsample1 then i have the issue like the following

please help me with this. i have been going thru the documentation and see /w option but cant figure out how to use it. any help greatly appreciated
Jun 6, 2013 at 3:52 PM
srry just noticed in my post
RewriteRule ^/(.[A-Z].)$$1#E