apache boot failure
Document must be a directory
查Document "/data" 实际是目录无疑
推测是selinux阻止apache访问,
[root@localhost ~]# ls -ldZ /data
drwxrwxr-x apache apache root:object_r:default_t /data
解决方法
[root@localhost ~]# chcon -R -h -t httpd_sys_content_t /data
[root@localhost ~]# ls -ldZ /data
drwxrwxr-x apache apache root:object_r:httpd_sys_content_t /data
最终结果,启动成功