title: htaccess rewrite breaks relative paths
body: <p>I have an htaccess file which maps <pre>http://www.myserver.com/home/</pre> to <pre>http://www.myserver.com/index.php?section=home</pre></p>
  
  <p>This part works fine. The issue I am facing now is, all my images and css reside in a sub-folder named assets, i.e. <pre>http://www.myserver.com/assets/images/</pre> <pre>http://www.myserver.com/assets/css/</pre> etc.</p>
  
  <p>After redirection the browser will look for the files under <pre>http://www.myserver.com/home/assets/images/</pre>
  which causes things to break, as this is not a valid path.</p>
  
  <p>I have been able to add another rewrite that maps the above to the correct sub-folder, however, Firebug shows that the images are residing in: <pre>http://www.myserver.com/home/assets/images/</pre></p>
  
  <p>I know it's not really a problem, after all, my  images and css are loading just fine with this rule. 
  I'm just curious as to how I could make the path shown to be the actual path, which is: <pre>http://www.myserver.com/assets/images/</pre></p>
  
  <p>Pasting my htaccess file below. Thank you very much beforehand.</p>
  
  <pre><code>Options +FollowSymlinks
  RewriteEngine on
  RewriteRule ^([^/]+)/assets/(css|images|js)/(.*)$ /assets/$2/$3 [NC,L]
  RewriteRule ^([^/]+)/$ /index.php?section=$1 [NC,L]</code></pre>