title: URL rewrite rule not working on localhost (apache)
body: <p>This is my link: <code>http://localhost/test/index.php</code></p>
  
  <p>Now i want to change it to look like this: <code>http://localhost/home/</code></p>
  
  <p>So i create a .htaccess file and placed it inside the <strong>test</strong> folder.</p>
  
  <p>This is my .htaccess code:</p>
  
  <pre><code>RewriteEngine on
  
  RewriteRule ^test/index.php$ home/
  </code></pre>
  
  <p><strong>mod_rewrite</strong> is also enabled. </p>
  
  <p>But anyway this rule is not working for me and browser is redirecting me to the original url <code>http://localhost/test/index.php</code>. However i tried this rule online and it seemed working there. Here's the snapshot of the website where i tested the rule.</p>
  
  <p><img src="https://i.stack.imgur.com/I6qGR.png" alt="enter image description here"></p>