开启SELINUX后访问出现空白页

arthew 2015-10-27 07:58:10

由于安全要求,SELINUX开启了,按照SELINUX+APACH的指导开好Apache

但是启动蝉知后访问没有出错而是出来一个空白页

回帖列表
wwccss 2015-11-04 09:25:12
谢谢分享。
arthew 2015-11-03 23:29:06

大致要做这些事情, 最好先setenforce 0, 设好后再打开:




  1. semanage fcontext -a -t httpd_sys_content  '/chanzhieps/www(/.*)?'

  2. restorecon -Rv /chanzhieps/www

  3.  semanage fcontext -a -t httpd_sys_rw_content  '/chanzhieps/www/data(/.*)?'

  4. restorecon -Rv /chanzhieps/www/data

  5. setsebool -P httpd_can_network_connect true

  6. setsebool -P httpd_can_network_connect_db true


wwccss 2015-10-27 08:40:05
找错误日志。config/my.php debug设成2。
1/ 1
浙ICP备14025715号-9
ZSITE8.6