User Tools

Site Tools


dokuwiki_on_centos7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dokuwiki_on_centos7 [2015/03/05 08:14] herwarthdokuwiki_on_centos7 [2015/06/15 15:29] (current) – [Permission and SElinux] herwarth
Line 24: Line 24:
   restorecon -Rv /var/www/html   restorecon -Rv /var/www/html
  
-  setsebool httpd_anon_write 1 +  setsebool -P httpd_anon_write 1 
-  setsebool httpd_can_connect_ldap 1 +  setsebool -P httpd_can_connect_ldap 1 
-  setsebool httpd_can_sendmail 1+  setsebool -P httpd_can_sendmail 1 
 + 
 +====When enabling upgrade plugin==== 
 +  semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html(/.*)?" 
 +  chown -R apache. /var/www/html 
 +  restorecon -Rv /var/www/html
  
 ====Apache settings==== ====Apache settings====
-<code+<code /etc/httpd/conf.d/dokuwiki.conf>
-cat << EOF > /etc/httpd/conf.d/dokuwiki.conf+
 LocationMatch "/(data|conf|bin|inc)/"> LocationMatch "/(data|conf|bin|inc)/">
    order allow,deny    order allow,deny
Line 36: Line 40:
    satisfy all    satisfy all
 </LocationMatch> </LocationMatch>
-EOF 
 </code> </code>
  
dokuwiki_on_centos7.1425543251.txt.gz · Last modified: by herwarth