Forbidden You don’t have permission to access / on this server

I am posting several solution please check below.

Please open httpd.conf or in the specific directory block in httpd-vhosts.conf

<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
</Directory>

Replace with

<Directory />
#Options FollowSymLinks
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order deny,allow
Allow from all
</Directory>

…………………………………………

If you are using a WAMP server then try this:

Single click on the WAMP server icon at the taskbar

Select the option put online

Your server will restart automatically

Then try to access your localwebsite

………………………………………

simply add this lines to my vhosts.conf file

<Directory D:/projects/webserver>
Order Deny,Allow
Allow from all
</Directory>

 

Hope it will help you.