title: Symbolic link causing 403 forbidden error
body: <p>So I am trying to build a custom vagnt box with Laravel 5.2 on CentOS 7.2. I successfully created a vagrant box running centos and installed LAMP stack and composer on it. Also, I am using laravel installer to create Laravel 5.2 projects with composer as described [here][1]. Now from here I have tried two different methods:</p>
  
  <ol>
  <li><h2>Create new laravel project as <code>sudo</code> on <code>/var/www/html</code></h2>
  
  <p>I ran <code>sudo laravel new &lt;project name&gt;</code> and it created <code>/var/www/html/&lt;project name&gt;</code>. Added this to <code>httpd.conf</code>:
  <code>
  Alias /MyLaravel /var/www/html/&lt;project name&gt;/public
  &lt;VirtualHost *:80&gt;
         DocumentRoot /var/www/html&lt;project name&gt;/public
         &lt;Directory /var/www/html/&lt;project name&gt;&gt;
                AllowOverride All
         &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code>
  With following permissions set:</p>
  
  <ol>
  <li><code>chmod 775 /var/www/html/&lt;project name&gt;/storage</code></li>
  <li><code>sudo chown -R apache:apache /var/www/html/&lt;project name&gt;</code></li>
  <li><code>sudo chmod 755 /var/www</code></li>
  </ol>
  
  <blockquote>
    <p>Everything works fine. No issues.</p>
  </blockquote></li>
  <li><h2>Create new laravel project in home directory and use symbolic link to <code>/var/www/html</code></h2>
  
  <p>I have run:
  <code>laravel new &lt;project name&gt;</code> 
  in home directory and it created <code>/home/vagrant/&lt;project name&gt;</code> then I have created a symbolic link using:
  <code>ln -s /home/vagrant/&lt;project name&gt; /var/www/html</code>. Now I have same permissions and configurations on httpd.conf. </p>
  
  <blockquote>
    <p>This time I get the error: Forbidden
    You don't have permission to access / on this server. </p>
  </blockquote></li>
  </ol>
  
  <p>I assume there is some configuration that I am missing. I have tried changing both original and symbolic link permissions and adding symlink options in httpd.conf with no success. Please kindly help.</p>
  
  <p>Respose 1: Output of <code>ls -al /var/www/html/&lt;project name&gt;</code></p>
  
  <p><code>
  drwxrwxr-x. 11 apache  apache    4096 Jul 19 21:25 .
  drwx------.  7 vagrant vagrant   4096 Jul 19 21:24 ..
  drwxrwxr-x. 10 apache  apache    4096 Jul 19 21:24 app
  -rw-rw-r--.  1 apache  apache    1646 Jul 19 21:24 artisan
  drwxrwxr-x.  3 apache  apache      51 Jul 19 21:24 bootstrap
  -rw-rw-r--.  1 apache  apache    1272 Jul 19 21:24 composer.json
  -rw-rw-r--.  1 apache  apache  113359 Jul 19 21:24 composer.lock
  drwxrwxr-x.  2 apache  apache    4096 Jul 19 21:24 config
  drwxrwxr-x.  5 apache  apache      68 Jul 19 21:24 database
  -rw-rw-r--.  1 apache  apache     478 Jul 19 21:25 .env
  -rw-rw-r--.  1 apache  apache     443 Jul 19 21:24 .env.example
  -rw-rw-r--.  1 apache  apache      61 Jul 19 21:24 .gitattributes
  -rw-rw-r--.  1 apache  apache      73 Jul 19 21:24 .gitignore
  -rw-rw-r--.  1 apache  apache     503 Jul 19 21:24 gulpfile.js
  -rw-rw-r--.  1 apache  apache     212 Jul 19 21:24 package.json
  -rw-rw-r--.  1 apache  apache    1026 Jul 19 21:24 phpunit.xml
  drwxrwxr-x.  2 apache  apache      90 Jul 19 21:24 public
  -rw-rw-r--.  1 apache  apache    1918 Jul 19 21:24 readme.md
  drwxrwxr-x.  5 apache  apache      42 Jul 19 21:24 resources
  -rw-rw-r--.  1 apache  apache     567 Jul 19 21:24 server.php
  drwxrwxr-x.  5 apache  apache      43 Jul 19 21:24 storage
  drwxrwxr-x.  2 apache  apache      47 Jul 19 21:24 tests
  drwxrwxr-x. 29 apache  apache    4096 Jul 19 21:25 vendor
  </code></p>
  
  <p>P.S. Here are links I have already explored:</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/7381371/apache-wont-follow-symlinks-403-forbidden">Apache won&#39;t follow symlinks (403 Forbidden)</a></li>
  <li><a href="https://askubuntu.com/questions/142084/apache-gives-403-forbidden">https://askubuntu.com/questions/142084/apache-gives-403-forbidden</a></li>
  </ol>