title: apache2 rewrite rule css img js not loading
body: <p>How to load css js file in localhost from remote host using rewrite rule ?</p>
  
  <pre><code>RewriteRule %{REQUEST_URI} / [NC]
  RewriteRule ^(.*)$ http://www.example.com/?id=2&amp;te=1 [P] 
  </code></pre>
  
  <p>I am using this rewrite rule to rewrite my localhost to example.com/?id=21&amp;te=2 [P]. The site example.com is loading but file from css,js,img file is not loading </p>