Tuesday, June 21, 2011

Apache Content Permission


getsebool -a | grep httpd

setsebool -P httpd_enable_cgi 1

setsebool -P httpd_allow_httpd_anon_write 1

chcon -R -t httpd_sys_rw_content_t 'directory_a'
chcon -R -t httpd_sys_rw_content_t '/var/www/'

No comments:

Post a Comment