title: rewriting url with .htacces cause files not to be found
body: <p>In general, I am trying to understand how .htaccess works. I would highly appreciate it if anyone points me in the right direction. I have been trying to make the following url (with optional parameters) pretty.</p>
  
  <pre><code>mysite/v1.0/foldername
  
  mysite/v1.0/foldername/param1/
  
  mysite/v1.0/foldername/param1/param2/etc
  </code></pre>
  
  <p>I tried the following: </p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_URI} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)/?$    foldername.php [QSA,L]
  </code></pre>
  
  <p>the problem is that when I get it to pass the parameters it can no longer get the resources. It seems to have changed directory.</p>
  
  <p>.htaccess is in <em>foldername</em></p>
  
  <p>Also, I would like to know what site i can go to to learn about REQUEST_URI, REQUEST_FILENAME, etc. A site that is not too technical as it's the apache site.</p>