Hi,
The question to ask is why would it be mandatory to create a specific VirtualHost to put the files needed for another VirtualHost.
Why is it not possible to put your includes in a VirtualHost compliance folder, for example in c:/wamp64/www/compliance/includes/?
As it is well explained in the Apache documentation, the way to cleanly and securely access a folder outside the VirtualHost tree is to use aliases, this is what is done for PhpMyAdmin and Admin access under Wampserver.
At the hosts, it is not possible, and is even totally forbidden, to have access to the "filesystem" and fortunately for the flatmates.
Putting the VirtualHost localhost in first position and with Require local puts it in VirtualHost by default which will make any http request that can't be served will fall on the default VirtualHost without being able to access the filesystem since it is totally forbidden in httpd.conf for the default VirtualHost nammed localhost.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons