title: Apache Simple Rewrite Rules (XAMPP)
body: <p>My website document path: <code>C:\xampp\htdocs\scripts\mysite</code></p>
  
  <p>and I just want to rewirte for example, <code>http://localhost/scripts/mysite/index.php?page=home</code> to <code>http://localhost/scripts/mysite/home</code></p>
  
  <p>so Here is my <code>.htacess</code> file: </p>
  
  <pre><code>RewriteEngine on
  
  RewriteCond %{REQUEST_FILENAME} -f 
  RewriteCond %{REQUEST_FILENAME} -d 
  
  RewriteRule ^(.*)$ /index.php?page=$1 [QSA]
  </code></pre>
  
  <p>Somehow if I type <code>http://localhost/scripts/mysite/home</code> in the address bar, browser says object not found.</p>
  
  <p>I'm very new to rewirte rules, thanks for help!</p>