title: Having trouble using .htaccess for hiding the .php extension
body: <p>I'm having trouble using .htaccess. 
  This is the content of my .htaccess file</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_FILENAME}!-d
  RewriteCond %{REQUEST_FILENAME}!-f
  RewriteRule ^([^.]+)\.php$ $1 [L]
  </code></pre>
  
  <p>I opened up a text file, pasted these lines and saved it as .htaccess
  It was showing .htaccess before i right clicked the .htaccess file and changed it to "open with notepad". I guess that shouldn't make a difference but now its showing a blank name.</p>
  
  <p>The main problem is when i open my localhost on the browser through wamp, the folder where I've kept the .htaccess file, isn't visible or if i access it shows this internal server error.Now, if i remove the .htaccess file from there, it shows up in the localhost directory and doesn't show an error when i try to open it.</p>