title: .htaccess rewrite rule with static files gives me 404, what I'm missing?
body: <p>My project (Silex) has a front controller <code>web/index.php</code> and assets in <code>web/css/*</code>, <code>web/img/*</code> and so on. I've placed the following <code>.htaccess</code> file in the root of the public html folder:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      Options -MultiViews
  
      RewriteEngine On
      RewriteBase web
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [QSA,L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Every request should be rewrited to web folder (<code>RewriteBase web</code> directive) and if file doesn't exist (<code>!-f</code>) it should be routed to the front controller.</p>
  
  <p>This is not working:</p>
  
  <pre><code>&lt;img src="/img/myimage.png" alt="" /&gt;
  </code></pre>
  
  <p>File <code>myimage.png</code> exists, but request for <code>/img/myimage.png</code> gives me a 404 folder. If I  modify the path to <code>/web/img/mmyimage.png</code> it works.</p>
  
  <p>Is there something I'm missing?</p>