I'm using Windows 7 x64 and I installed apache 2.4 with PHP 7.1 separately, set everything up and when I put localhost, it works normally.
Then inside my htdocs, I created a folder called projects. When I access the address link it returns me 403 forbidden and does not show me the files I have in it, what can I do to free the access ?
NOTE: I do not use WAMP and XAMP, only apache and native php.
UPDATE
My httpd.conf looks like this:
DocumentRoot "c:/Apache24/htdocs"
<Directory "c:/Apache24/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
Options ExecCGI
Order Deny,Allow
Allow from all
</Directory>
And I'm using vhosts, httpd-vhosts.conf:
<VirtualHost *:80>
DocumentRoot "c:/Apache24/htdocs/projetos/vhost.com/"
ServerName vhost.com
<Directory "c:/Apache24/htdocs/projetos/vhost.com">
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "c:/Apache24/htdocs/"
ServerName localhost
</VirtualHost>