title: WAMP Apache VirtualHost and Symfony2 issue
body: <p>I'm working with WAMP on Windows 7. Every time I try to create a Virtual Host to work with "clean" URLs for a Symfony2 project, I get 404 errors.</p>
  
  <p>Here's my httpd.conf:</p>
  
  <pre><code>NameVirtualHost localhost
  
  &lt;VirtualHost localhost&gt;     
      DocumentRoot "D:/Documents/wamp/"
      ServerName localhost    
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost my-project.local&gt;
      ServerName my-project.local
      DocumentRoot "D:/Documents/wamp/my-project/web/"
      DirectoryIndex app.php
      &lt;Directory "D:/Documents/wamp/my-project/web/"&gt;
          AllowOverride All
          Allow from All
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>My hosts file:</p>
  
  <pre><code>127.0.0.1       my-project.local
  </code></pre>
  
  <p>When I try to reach <a href="http://my-project.local" rel="nofollow">http://my-project.local</a>, I get a Symfony 404 error. When I check with <a href="http://my-project.local/app.dev" rel="nofollow">http://my-project.local/app.dev</a>, I'm redirected to <a href="http://my-project.local" rel="nofollow">http://my-project.local</a> so I also get a 404 error and finally, when I try to reach <a href="http://my-project.local/app_dev.php" rel="nofollow">http://my-project.local/app_dev.php</a>, the correct page is loaded but with absolutely no CSS.</p>
  
  <p>I also tried to replace <code>DirectoryIndex app.php</code> with <code>DirectoryIndex app_dev.php</code> but I still get 404.</p>
  
  <p>I don't have any issue when I create Virtual Hosts for other projects powered by Laravel for example.</p>