title: Apache mod_rewrite redirect file type to another domain
body: <p>How can I use mod_rewrite to send requests for a particular file type to another domain name (server)?</p>
  
  <p><strong>Example:</strong></p>
  
  <p>If you request <code>http://example.com/potato.png</code> then it'll redirect to <code>http://anotherdomain.com/potato.png</code>.</p>