title: .htaccess rewrite url to arguments
body: <pre><code>Options +FollowSymLinks
  
  RewriteEngine On
  RewriteRule ^products/([a-zA-Z]+)/([0-9]+)/$ index.php?product=$1&amp;price=$2
  </code></pre>
  
  <p>This code makes </p>
  
  <blockquote>
    <p><code>http://www.example.com/products/computer/1000</code> </p>
  </blockquote>
  
  <p>into </p>
  
  <blockquote>
    <p><code>http://www.example.com/index.php?product=computer&amp;price=1000</code>.</p>
  </blockquote>
  
  <p>Is it possible to make </p>
  
  <blockquote>
    <p><code>http://www.example.com/scriptName/arg1/val1/arg2/val2/arg3/val3</code></p>
  </blockquote>
  
  <p>into </p>
  
  <blockquote>
    <p><code>http://www.example.com/scriptName.php?arg1=val1&amp;arg2=val2&amp;arg3=val3?</code></p>
  </blockquote>
  
  <p>The user should be able to give an unlimited number of arguments. This way one can have <code>/index.php?page=forum&amp;subforum=subforum&amp;quote1=postNo1&amp;quote2=postNo43</code> and so on rewrite <code>/index/page/forum/subforum/subforum/quote1/postNo1/quote2/postNo43</code></p>
  
  <p>How would the <code>.htaccess</code> code look?</p>