title: Apache htaccess rule priority
body: <p>I know .htaccess rules are parsed top to bottom but what if my URL matches two rules which one will be used and why?</p>
  
  <p>I have simple rules like</p>
  
  <pre><code>^(.*)$ index.php?pag=cms&amp;title=$1
  ^store/(.*)$ index.php?pag=store&amp;id=$1
  </code></pre>
  
  <p>Basically any URL will match the first rule so what happens with other ones?</p>