centos6.5 403 Forbidden 设置了777还是不行

Forbidden



You don't have permission to access /liuyanben/install on this server.

Apache/2.2.15 (CentOS) Server at localhost Port 80

 

ls -laZ

#如果结果是 user_home_t 则改为httpd_sys_content_t

chcon -R -t httpd_sys_content_t /var/www/html/phpmyadmin/

 成功

你可能感兴趣的:(centos6)