title: 403 Forbidden Error setting up Virtual Hosts
body: <p>I've run into this problem on other servers before, but this time I can't figure it out. I've tried looking at all the solutions on Stack Overflow, but no luck so far.</p>
  
  <hr>
  
  <p><strong>The Error</strong>: domain1 works just fine, but trying to access the index on domain2 fails.</p>
  
  <pre><code>Forbidden
  
  You don't have permission to access /index.html on this server.
  </code></pre>
  
  <hr>
  
  <p><strong>My httpd.conf</strong></p>
  
  <p>Note: domain1 is a symfony site, so the web root is /web, where as domain2 is just a static html site.</p>
  
  <pre><code>LoadModule vhost_alias_module modules/mod_vhost_alias.so
  DocumentRoot "/var/www/html/domain1.com/web"
  &lt;Directory "/var/www/html/domain1.com/web"&gt;
      Options Indexes FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all
  &lt;/Directory&gt;
  
  NameVirtualHost *:80
  
  &lt;VirtualHost *:80&gt;
      ServerAdmin jason@domain2.com
      DocumentRoot /var/www/html/domain2.com
      ServerName domain2.com
      ErrorLog logs/domain2.com-error_log
      CustomLog logs/domain2.com-access_log common
  &lt;/VirtualHost&gt;
  
  &lt;Directory "/var/www/html/domain2.com"&gt;
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride None
      Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <hr>
  
  <p><strong>ls -l in /var/www/html</strong></p>
  
  <pre><code>drwxr-xr-x 2 apache apache 4096 Jan 12 17:06 domain2.com
  drwxr-xr-x 8 apache apache 4096 Jan 12 15:58 domain1.com
  </code></pre>
  
  <hr>
  
  <p><strong>Other</strong></p>
  
  <ul>
  <li>I've already tried disabling selinux with "setenforce 0"</li>
  <li>I've made sure to restart apache each time after changing httpd.conf by running "service httpd restart"</li>
  <li>I've rebooted the server itself</li>
  <li>Apache Version: 2.2.15</li>
  <li>CentOS Version: 6.5</li>
  </ul>