title: Trying to make RewriteCond case insensitive htaccess
body: <pre><code>RewriteEngine on
  RewriteCond %{REQUEST_FILENAME}.php -f
  RewriteRule !.*\.php$ %{REQUEST_FILENAME}.php
  </code></pre>
  
  <p>I am using the above code for removing the file extension of all the pages.
  But, it is not Case Insensitive. Example: www.mysite.com/contact works fine, but www.mysite.com/Contact gives an error.</p>
  
  <p>IMP: I have tried putting [NC] infront of both the code lines.</p>
  
  <p>Any help is appreciated.</p>