title: htaccess redirect request from domain
body: <p>I have one domain that is hotlinging my JS scripts, how to send them other script they asked with .htaccess?</p>
  
  <p>I can block request with:</p>
  
  <pre><code>RewriteCond %{SERVER_NAME} ^(www\.)?exampole\.com$
  RewriteRule ^ - [F]
  </code></pre>
  
  <p>But how to serve them another script? Lets say that they request
  <code>mydomain.com/script.js</code> and I want to send them contents of <code>otherdomain.com/otherscript.js</code></p>