title: 403 Forbidden - Permission - VHOSTS
body: <p>I couldn't access no more my vhosts (only the default one, localhost). It makes me :</p>
  
  <blockquote>
    <p>Forbidden</p>
    
    <p>You don't have permission to access / on this server.</p>
  </blockquote>
  
  <p>I already load the module in my httpd.conf, I'm on apache 2.4, and I already check all the permissions folders (chmod 755).</p>
  
  <p>My httpd-vhosts.conf file :</p>
  
  <pre><code># Virtual Hosts
  #
  # Required modules: mod_log_config
  
  # If you want to maintain multiple domains/hostnames on your
  # machine you can setup VirtualHost containers for them. Most configurations
  # use only name-based virtual hosts so the server doesn't need to worry about
  # IP addresses. This is indicated by the asterisks in the directives below.
  #
  # Please see the documentation at 
  # &lt;URL:http://httpd.apache.org/docs/2.4/vhosts/&gt;
  # for further details before you try to setup virtual hosts.
  #
  # You may use the command line option '-S' to verify your virtual host
  # configuration.
  
  #
  # VirtualHost example:
  # Almost any Apache directive may go into a VirtualHost container.
  # The first VirtualHost section is used for all requests that do not
  # match a ServerName or ServerAlias in any &lt;VirtualHost&gt; block.
  #
  Listen 80
  
  &lt;VirtualHost *:80&gt;
  ServerName localhost
  DocumentRoot "/Library/WebServer/Documents"
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
      DocumentRoot "/Users/POlo/Sites/polohome"
      ServerName polohome
      # Set access permission
      &lt;Directory "/Users/POlo/Sites/polohome"&gt;
      DirectoryIndex index.html index.php
      Require all granted
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
          DocumentRoot "/Users/POlo/Sites/aeglos"
          ServerName aeglos
          ErrorLog "/private/var/log/apache2/aeglos.local-error_log"
          CustomLog "/private/var/log/apache2/aeglos.local-access_log" common
  
          &lt;Directory "/Users/POlo/Sites/aeglos/"&gt;
                  AllowOverride All
                  Order allow,deny
                  Allow from all
          &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>The only thing I've found is when changing the DirectoryIndex in the httpd.conf file, it render me a php line without executing it.. And adding the directoryIndex on the httpd-vhosts.conf file did nothing.</p>
  
  <p>Thanks for help.</p>
  
  <p>UPDATE : Don't understand why.. But it's working when switching to PHP 5.6, on php 7.0.6 still rendering me 403 forbidden page.</p>