修改apache对指定文件夹的访问权限
chown -R apache:apache /var/www/userfolder/ chmod -R 755 /var/www/userfolder/
重启apache服务
systemctl restart httpd