title: 403 Forbidden error after symfony 2 reinstall
body: <p>I am building a web app on top of the symfony2 framework. Everything used to work fine until, due to some problems, i had to wipe the production symfony folder clean and reinstall everything inside the symfony project folder.
  Now every request to the server returns a 403, <code>You don't have permission to access / on this server.</code></p>
  
  <p>Note: the server software is apache2 running on ubuntu.</p>
  
  <p>I deployed using capifony, running <code>cap deploy:setup</code> and <code>cap deploy</code>. </p>
  
  <p>Nothing changed in any apache config files or anything outside the root directory of the symfony project. The server root points to <code>symfonyRoot/current/web</code>, the .htaccess file in that directory looks as follows:</p>
  
  <pre><code>DirectoryIndex app.php
  
  &lt;IfModule mod_rewrite.c&gt;
      RewriteEngine On
  
      RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
      RewriteRule ^(.*) - [E=BASE:%1]
  
      RewriteCond %{HTTP:Authorization} .
      RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  
      RewriteCond %{ENV:REDIRECT_STATUS} ^$
      RewriteRule ^app\.php(/(.*)|$) %{ENV:BASE}/$2 [R=301,L]
  
      RewriteCond %{REQUEST_FILENAME} -f
      RewriteRule .? - [L]
  
      RewriteRule .? %{ENV:BASE}/app.php [L]
  &lt;/IfModule&gt;
  
  &lt;IfModule !mod_rewrite.c&gt;
      &lt;IfModule mod_alias.c&gt;
          RedirectMatch 302 ^/$ /app.php/
      &lt;/IfModule&gt;
  &lt;/IfModule&gt;
  </code></pre>
  
  <p><strong>Edit:</strong></p>
  
  <p>from the apache2.conf file:</p>
  
  <pre><code>&lt;Directory /var/www/&gt;
      Options Indexes FollowSymLinks
      AllowOverride All
      Require all granted
  &lt;/Directory&gt;
  </code></pre>
  
  <p>from the virtual host config:</p>
  
  <pre><code>&lt;Directory "/var/www/SymfonyRoot/current/web"&gt;
      Require all granted
      AllowOverride All
      Allow from All
      Options None
  &lt;/Directory&gt;
  </code></pre>
  
  <p>I am sure that it is just one simple thing that i am forgetting somewhere, but i can't figure out why the server is denying permission to any routes.</p>