title: .htaccess file not working on localhost XAMPP
body: <p>I have PHP project on localhost using XAMPP and also .htaccess file:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /locations/
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /test.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>But this is not working and I am only getting Error 404. In httpd.conf file I have uncommented this line:</p>
  
  <pre><code># AllowOverride controls what directives may be placed in .htaccess files.
  # It can be "All", "None", or any combination of the keywords:
  #   Options FileInfo AuthConfig Limit
  #
  AllowOverride All
  </code></pre>
  
  <p>I am using Windows 8.1. What can I do to make it work, please?</p>