title: RewriteRule doesn't work as I want
body: <p>I have a small problem.
  I have a color-customization code for an image, and I use RewriteRule to make it shorter:</p>
  
  <pre><code>RewriteRule ^cc-(.*?)-(.*?)\.png$ cc.php?col1=$1&amp;col2=$2 [L]
  </code></pre>
  
  <p>When I enter localhost/Gen/cc-1122ff-ffffff.png it opens for me normally.
  But, when I want to add text to this generated picture with PHP I use another RewriteRule:</p>
  
  <pre><code>RewriteRule ^sig,(.*?),(.*?),(.*?),(.*?),([^,]+),(.*?),([^,]+)\.png$ test.php?nam=$6&amp;font=$5.ttf&amp;bg=$7.png&amp;gn=$1&amp;badg=$2&amp;typ=$3&amp;itm=$4 [L]
  </code></pre>
  
  <p>And I go to this link: localhost/Gen/sig,y,y,mem,no,Pixel,test,cc-1122ff-ffffff.png
  I get this error: </p>
  
  <pre><code>Warning: imagecreatefrompng(cc-1122ff-ffffff.png): failed to open stream: No such file or directory in D:\Xampp\htdocs\Gen\test.php on line 31
  </code></pre>
  
  <p>The second RewriteRule normally works, for example with localhost/Gen/sig,y,y,mem,no,Pixel,test,white.png
  Second RewriteRule doesn't work with first RewriteRule. Why?</p>