title: mod_rewrite RewriteRule external domain
body: <p>I want to rewrite all urls like domain1.com/site to domain2.com and want view the content in domain2.com but with the urls of domain1.com</p>
  
  <p>I try this code in .htaccess file in domain1.com root directory:</p>
  
  <pre><code>RewriteRule ^sito http://mariomaffei.it/$1 [P]
  </code></pre>
  
  <p>but I can't see correctly webpages</p>
  
  <p>I'm testing it on this site: officinacm.it/sito
  Can anybody help me?</p>