Error message “Forbidden You don’t have permission to access / on this server”
解决:
Apache 2.4 use a new module called mod_authz_host
Require all granted => Allow all requests
Require all denied => Deny all requests
Require host safe.com => Only from safe.com are allowed
By default, your global directory settings is :
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>
change to:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
Satisfy all#允许所有访问
</Directory>
Also try changing Order deny,allow and Allow from all lines by Require all granted.