chcon -R -t httpd_sys_content_t /var/www
Computer Tips - Linux: Make files readable by Apache when SELinux is enabled
Date: 2019aug9
Q. Linux: Make files readable by Apache when SELinux is enabled
A.
chcon -R -t httpd_sys_content_t /var/www