This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dokuwiki_on_centos7 [2015/03/05 08:14] – herwarth | dokuwiki_on_centos7 [2015/06/15 15:29] (current) – [Permission and SElinux] herwarth | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| restorecon -Rv / | restorecon -Rv / | ||
| - | setsebool httpd_anon_write 1 | + | setsebool |
| - | setsebool httpd_can_connect_ldap 1 | + | setsebool |
| - | setsebool httpd_can_sendmail 1 | + | setsebool |
| + | |||
| + | ====When enabling upgrade plugin==== | ||
| + | semanage fcontext -a -t httpd_sys_rw_content_t "/ | ||
| + | chown -R apache. / | ||
| + | restorecon -Rv / | ||
| ====Apache settings==== | ====Apache settings==== | ||
| - | <code> | + | < |
| - | cat << EOF > / | + | |
| LocationMatch "/ | LocationMatch "/ | ||
| order allow,deny | order allow,deny | ||
| Line 36: | Line 40: | ||
| | | ||
| </ | </ | ||
| - | EOF | ||
| </ | </ | ||