Possible Duplicate:
Case Insensitive URLs with mod_rewrite
i have to make the urls non case sensitive.That means I have to work http://www.test.com/About.php and http://www.test.com/about.php..
I tried the below code.but it doesn’t works.it shows the index page.ie, it shows the content of index page
#Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC]
I’ve since found this question, which has an accepted answer (copied below for reference):
It seems to be the same as (or similar enough to) your situation.
I’m not sure how / whether I can close this question as a duplicate, but it would be worth seeing if the referenced answer solves your problem first 🙂