title: How to rewrite url-encoded-base64 with .htaccess
body: <p>I have used timthumb to resize images from external site. I would like rewrite url to security my site
  But I don't know how to do it with .htaccess and php</p>
  
  <p>(1) htp://mydomain.com/timthumb.php?src=<strong>htp://any-images.jpg</strong>&amp;h=70&amp;w=70&amp;zc=1</p>
  
  <p>(2) htp://mydomain.com/70/70/aHR0cDovL2ltYWdlc2hhY2suY29tL2EvaW1nOTEyLzE4NTgvZ3Z</p>
  
  <p>I used php encode base64 <strong>htp://any-images.jpg</strong> to <strong>aHR0cDovL2ltYWdlc2hhY2suY29tL2EvaW1nOTEyLzE4NTgvZ3Z</strong></p>
  
  <p>Now the question is: How to do rewrite from (1) to (2)?  </p>