title: Sorry, the page you are looking for could not be found. silex error
body: <p>My .htaccess: </p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  Options -MultiViews
  RewriteEngine On
  RewriteBase /silex/web
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^ index.php [QSA,L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Index.php:</p>
  
  <pre><code>&lt;?php
  ini_set('display_errors', 1);
  require_once __DIR__.'../vendor/autoload.php';
  
  $app = new Silex\Application();
  
  $app-&gt;get('/hello/{name}', function ($name) use ($app) {
  return 'Hello '.$app-&gt;escape($name);
  });
  
  $app-&gt;run();
  </code></pre>
  
  <p>I got this error when accessing localhost/silex/hello/world:</p>
  
  <p>"Sorry, the page you are looking for could not be found."</p>
  
  <p>why?</p>