Category: Uncategorized

Can’t access the website due to permission cause by SELinux

Problem: The folder permission all ready to set the appropriate one (744, etc). but still can not access some page, or some of the pages can not access due to permission denied.

Solution: use chcon -t httpd_sys_rw_content_t folder/ -R, replace folder/ with your folder

chcon -t httpd_sys_rw_content_t folder/ -R
Close Bitnami banner
Bitnami