403 Forbidden: You don't have permission to access / on this server using ip address or domain name in Apache

WAMP 403 Forbidden: You don't have permission to access / on this server using ip address or domain name in Apache

<VirtualHost *:80>
  #your config
  DocumentRoot "${INSTALL_DIR}/www/partage"
  <Directory "${INSTALL_DIR}/www/yamicode/">
    #your config

    #for local network access = your local ip address without the last part
    Require ip 192.168.1
    #to grant access only to specific ip addresses
    Require ip 192.168.1.2
    #for global access
    Require all granted
  </Directory>
</VirtualHost>