Forbidden:You don't have permission to access /index.php on this server
当访问虚拟机或者其他机器上的web程序的时候遇到
You don’t have permission to access /index.php on this server的错误
只需要修改一下httpd.conf文件即可
1,
AllowOverride none
Require all denied
修改成:
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
Satisfy all
2,
Options Indexes FollowSymLinks
AllowOverride all
Require local
修改成:
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Allow from all
还没有评论,来说两句吧...