title: i need some help creating Htaccess
body: <p>i need to hide the extensions of my webpage and also want to let the user put the links in both (lower and upper) case:</p>
  
  <p>Example:</p>
  
  <p>the file name is demo.php</p>
  
  <p>www.example.com/demo
  www.example.com/DEMO
  www.example.com/Demo</p>
  
  <p>Running PHP in a LAMP server, no access to php.ini, just .htaccess</p>
  
  <p>Actualy im using a file like this:</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /
  RewriteRule ^/(OUTSOURCING|outsourcing|Outsourcing)$ outsourcing.php [NC,L]
  </code></pre>
  
  <p>And i m reciving this error:</p>
  
  <pre><code>Not Found
  
  The requested URL /outsourcing was not found on this server.
  
  Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
  </code></pre>