Red Hat SELinux

From MyWiki
Jump to: navigation, search

Allow Apache write access

semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/folder1/var(/.*)?"
restorecon -R /var/www/html/apps/folder1/var