title: Why am I getting these Silex 404's?
body: <p>Just getting started with Silex and having some issues.</p>
  
  <p>Downloaded the <a href="http://silex.sensiolabs.org/get/silex_fat.zip" rel="nofollow">fat zip file</a>, unzipped it into <code>wamp</code>'s <code>www</code> folder. So, here's <code>C:\wamp\www\fat-silex\web\index.php</code>:</p>
  
  <pre><code>&lt;?php
  require_once __DIR__.'/../vendor/autoload.php';
  $app = new Silex\Application();
  $app-&gt;get('/hello', function() {
      return 'Hello!';
  });
  $app-&gt;run();
  </code></pre>
  
  <p>Problem is I'm getting Apache's 404's for <code>http://localhost/fat-silex/web/hello</code>, and also for any URL except <code>localhost/fat-silex/web</code>, where I'm getting Silex'es 404 (as expected). I guess the requests go directly to Apache, and are not routed by Silex. This looks like the problem could be solved with a <code>.htaccess</code> file, so I added this one, suggested in the <a href="http://silex.sensiolabs.org/doc/web_servers.html" rel="nofollow">official documentation</a>:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      Options -MultiViews
  
      RewriteEngine On
      RewriteBase /fat-silex
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>However, it doesn't seem to have <em>any</em> effect at all.</p>