title: using mod_rewrite with XAMPP and windows 7 - 64 bit?
body: <p>i have a simple mod_rewrite rule which allow me to re-direct any requests that are not actual files or directories to the index.php file</p>
  
  <pre><code>    Options +SymLinksIfOwnerMatch 
      RewriteEngine On 
      RewriteCond %{REQUEST_FILENAME} !-f 
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule . /index.php [L]
  </code></pre>
  
  <p>in PHP file i put this simple code to handle this navigation</p>
  
  <pre><code>&lt;?php
  $navString = $_SERVER['REQUEST_URI']; // Returns "/Mod_rewrite/edit/1/"
  $parts = explode('/', $navString); // Break into an array
  // Lets look at the array of items we have:
  print_r($parts);
  ?&gt;
  </code></pre>
  
  <p>my development environment is XAMPP and Windows 7 - 64 bit
  httpd.conf file</p>
  
  <pre><code>&lt;Directory /&gt;
      Options FollowSymLinks
      AllowOverride All
      Order deny,allow
      Deny from all
  &lt;/Directory&gt;
  
  &lt;Directory "C:/xampp/cgi-bin"&gt;
      AllowOverride All
      Options None
      Order allow,deny
      Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>my problem is when ever i pass any varible to the scrip for example</p>
  
  <pre><code>http://locahost/test/somethinghere/andhere
  </code></pre>
  
  <p>it redirect me to the local host default page which is</p>
  
  <pre><code>http://locahost/xampp
  </code></pre>