title: apache: don't have permission to access / on this server. when I am using virtualhost
body: <p>For example, the document root of <code>virtualHost</code> is <code>/var/www</code>, and server name is <code>aaa.com</code>. 
  However, apache will tell me <code>forbidden</code> if I access the server with <code>localhost</code> and <code>aaa.com</code>. If I change the <code>Directory</code> option in <code>http.conf</code> to <code>/var/www</code>, apache will work well. I don't know why?</p>
  
  <p>I want to set <code>Directory</code> option in every <code>httpd-vhosts.conf</code>, not in <code>httpd.conf</code>, how I can do it?</p>
  
  <p>Here is my <code>http.conf</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/94Qf4.png" alt="enter image description here"></p>
  
  <p>Here is my <code>httpd-vhosts.conf</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/Mzjpz.png" alt="enter image description here"></p>