mac encountered the following error in configuring virtual host:
< H2 > Forbidden < / H2 > You don"t have permission to access / on this server.
Server unable to read htaccess file, denying access to be safe
apache version 2.4.*
Baidu has many answers that have not been solved
apachehttpd.conf
Require all none -> Require all granted
AllowOverride none -> AllowOverride all
< hr >
:
<Directory "project/path">
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>
< hr >
777
chomd -R 777 project_directory
I really don"t know what to do, and this problem still occurs.