这个通常是由于selinux限制了http 读权限的原因, 其实很好解决的, 用下面的命令即可: sudo chcon -R -h -t httpd_sys_content_t /var/www/html/your_sub_folder