title: CakePHP 2.2 403 error upon installation with Apache
body: <p>So I downloaded the latest version of CakePHP verbatim and unzipped it into the directory <code>/var/www/cake_2/</code> (Apache2 on Ubuntu). When I try to access <code>localhost/cake/</code>, I get the following error:</p>
  
  <p><code>You don't have permission to access /cake/ on this server.</code></p>
  
  <p>This seems to be a similar problem:
  <a href="https://serverfault.com/questions/70243/mod-rewrite-cakephp-routing-functionality-forbidden-after-snow-leopard-upgrade">https://serverfault.com/questions/70243/mod-rewrite-cakephp-routing-functionality-forbidden-after-snow-leopard-upgrade</a></p>
  
  <p>I have added:</p>
  
  <pre><code>&lt;Directory /&gt;
    Options FollowSymLinks
    AllowOverride All
    Order deny,allow
    Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>to my <code>/etc/apache2/apache2.conf</code> file and changed the contents of .htaccess in <code>/var/www/cake/</code> to:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule    ^$ app/webroot/    [L]
    RewriteRule    (.*) app/webroot/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>and I am still getting the same error. Can anyone provide some guidance?</p>