关键字
文章内容
centos6.4 selinux开启 apache服务403错误
 
 
修改时间:[2013/04/08 16:29]    阅读次数:[1480]    发表者:[沩筱]
 

SElinux与http
apache的主目录如果修改为其它位置,selinux就会限制客户的访问。
修改安全上下文:
chcon -R -t httpd_sys_content_t /var/www/html

这样就可以不用关闭SElinux,解决http的403错误