Hi,
> If i put Require all granted at the top of the file, the it works
If you think about the complete structure - including the includes - of the Apache configuration file, you might see that this applies to the entire Apache server itself and becomes a security hole.
All hosting providers use VirtualHost. As a customer of the hosting provider, you don't realize this because it's not you who creates the VirtualHost, but the hosting provider and before you even upload your site to it.
With Wampserver (or any other local server), the hoster is you and it is up to you to learn how to use a server. Skills and knowledge are, unfortunately, not part of the Wampserver package.
We are not magicians and we can't turn you into a :
- Network Administrator
- Web Server Administrator
- Database Administrator
- Developer
- Analyst
- Programmer.
Nevertheless, all the links on the related documentation are an integral part of Wampserver.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons