title: Possible to 301 redirect using apache mod_rewrite to url with scheme that is not "http" and "https"?
body: <p>Trying to do a 301 redirect using apache mod_rewrite: </p>
  
  <pre><code>RewriteRule /the-path/(.*) my-scheme://new-site.com/the-path/$1 [R=301,NC,L]
  </code></pre>
  
  <p>The path <a href="http://site.com/the-path/param1=xyz" rel="nofollow">http://site.com/the-path/param1=xyz</a> will redirect to 
  <a href="http://site.com/my-scheme://new-site.com/the-path/param1-xyz" rel="nofollow">http://site.com/my-scheme://new-site.com/the-path/param1-xyz</a></p>
  
  <p>But when I use "http" or "https" in place of "my-scheme" in the rewrite rule, it is working as expected. </p>
  
  <p>So I guess mod_rewrite can redirect to only "http" or "https". Anyone can confirm? Thanks</p>