title: After .htaccess rewrite to redirect root URL to subdirectory, files get not loaded properly
body: <p>What I did was this .htaccess rule:</p>
  
  <pre><code>RewriteCond %{HTTP_HOST} ^(www.)?example\.com [NC]
  RewriteCond %{REQUEST_URI} ^/$
  RewriteRule ^(.*)$ /static/somefolder/$1 [L]
  </code></pre>
  
  <p>In the folder is a static html and some css. The html now tries to load the css from root, which is clearly not want I want.</p>
  
  <p>Actually I wanted all requests to be redirected, except for one folder.
  So I then used:</p>
  
  <pre><code>RewriteCond %{HTTP_HOST} ^(www.)?example\.com [NC]
  RewriteCond %{REQUEST_URI} !^/downloads/.*
  RewriteRule ^(.*)$ /static/somefolder/$1    [L]
  </code></pre>
  
  <p>But this throws an 'Internal Server Error'.</p>
  
  <p>What did I miss here?</p>