title: Rewrite rule not working on localhost
body: <p>I want to rewrite the url</p>
  
  <pre><code>http://localhost/sample/eventcentre.php?url=someurl
  </code></pre>
  
  <p>to</p>
  
  <pre><code>http://localhost/sample/vn/someurl
  </code></pre>
  
  <p>Here is my current rewrite rule:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^vn/([^/\.]+)?$ /eventcentre.php?url=$1 [L]
  </code></pre>
  
  <p>it doesn't seem to be working. What could I be doing wrong?</p>