title: Mod rewrite pass multiple parameters without directories
body: <p>I need to redirect <a href="https://www.example.com/test/track.gif?par1=1&amp;par2=2&amp;par3=3" rel="nofollow noreferrer">https://www.example.com/test/track.gif?par1=1&amp;par2=2&amp;par3=3</a> to <a href="https://www.example.com/test/track.php?par1=1&amp;par2=2&amp;par3=3" rel="nofollow noreferrer">https://www.example.com/test/track.php?par1=1&amp;par2=2&amp;par3=3</a>. 
  This is what I have so far:</p>
  
  <pre><code>RewriteRule ^test/track\.gif(.*)(.*)(.*)$ test/track.php?par1=$1&amp;par2=$2&amp;par3=$3 [NC,L]
  </code></pre>
  
  <p>Which doesn't work. If there was directories between it would be easy, but I am not sure how I can pass parameters without directories.</p>