title: Virtual Host: LAN access, WAMP, Windows 7, Apache 2.4.4, Php 5.4.16; returns dont-have-permission-to-access-on-this-server
body: <p>Before I start.. Good day to all! :) </p>
  
  <p>I have problem with my WAMP virtual host.. the other computer on our LAN keeps receiving error forbidden-you-dont-have-permission-to-access-on-this-server.. </p>
  
  <p>Below is the current settings I have:</p>
  
  <p>/httpd.conf</p>
  
  <pre><code>#
  # Deny access to the entirety of your server's filesystem. You must
  # explicitly permit access to web content directories in other 
  # &lt;Directory&gt; blocks below.
  #
  &lt;Directory /&gt;
      Options FollowSymLinks Includes
      AllowOverride All
      Order allow,deny
      Allow from all
      Require all granted
  &lt;/Directory&gt;
  
  #
  # DocumentRoot: The directory out of which you will serve your
  # documents. By default, all requests are taken from this directory, but
  # symbolic links and aliases may be used to point to other locations.
  #
  DocumentRoot "c:/wamp/www"
  &lt;Directory "c:/wamp/www"&gt;
      Options Indexes FollowSymLinks
      AllowOverride All
      Order Deny,Allow
      Allow from all
      Allow from 127.0.0.1
      Allow from ::1
      Allow from localhost
  &lt;/Directory&gt;
  </code></pre>
  
  <p>/phpmyadmin.conf
      Alias /phpmyadmin "c:/wamp/apps/phpmyadmin4.0.4/" </p>
  
  <pre><code># to give access to phpmyadmin from outside 
  # replace the lines
  #
  #      Order Deny,Allow
  #   Deny from all
  #   Allow from 127.0.0.1
  #
  # by
  #
  #        Order Allow,Deny 
  #   Allow from all
  #
  
  &lt;Directory "c:/wamp/apps/phpmyadmin4.0.4/"&gt;
      Options Indexes FollowSymLinks ExecCGI
      AllowOverride all
      Order Deny,Allow
      Allow from all
      Allow from 127.0.0.1
      Allow from ::1
      Allow from localhost
  &lt;/Directory&gt;
  </code></pre>
  
  <p>/httpd.vhosts.conf</p>
  
  <pre><code>Listen 127.0.0.1:80
  
  &lt;VirtualHost 127.0.0.1:80&gt;
      ServerName www.ecommerce.local
      ServerAlias ecommerce.local
      DocumentRoot C:/wamp/www/ecommerce
      ErrorLog "C:/wamp/www/ecommerce/logs/error.log"
      CustomLog "C:/wamp/www/ecommerce/logs/access.log" common
      &lt;Directory /&gt;
          Require all granted
          Options Indexes FollowSymLinks Includes ExecCGI
          AllowOverride All
          Order allow,deny
          Allow from all
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost 127.0.0.1:80&gt;
      ServerName localhost
      DocumentRoot C:/wamp/www/
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Also...</p>
  
  <ul>
  <li>tried to ping from other computer response is success</li>
  <li>tried to turn off firewall for both computer</li>
  <li>tried to add everyone in www's folder properties
  <img src="https://i.stack.imgur.com/2v37o.png" alt="changed_to_everyone"></li>
  </ul>
  
  <p>I have tried other solutions I found but still to no avail.. I can access "<a href="http://ecommerce.local" rel="nofollow noreferrer">http://ecommerce.local</a>" but the other computer on our LAN recieves forbidden-you-dont-have-permission-to-access-on-this-server error.. </p>
  
  <p>does it have something to do with our network settings? the other computer is also in the same settings... my ip: 192.168.1.198 and the other computer is 192.168.1.192
  <img src="https://i.stack.imgur.com/dCEet.png" alt="ipv4 and ipv6 settings"></p>