Reputation: 3
I have a big problem with my vhost installation with my wamp server when i want to load my website, it display this :
"Forbidden
You don't have permission to access / on this server."
i have seen a lot of tutorials and i have try this, and it didn't work well :
in : C:\wamp64\bin\apache\apache2.4.23\conf\extra\httpd-vhosts.conf
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp64/www
<Directory "c:/wamp64/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName panierdesaison79
DocumentRoot c:/wamp64/www/panierdesaison79/
<Directory "c:/wamp64/www/panierdesaison79/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
require all granted
</Directory>
</VirtualHost>
#
In : C:\Windows\System32\drivers\etc\hosts
#blablabla
# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
::1 localhost
127.0.0.1 panierdesaison79
::1 panierdesaison79
How it couldn't work?
Upvotes: 0
Views: 128