Context Setting Centos (SELLinux)

Because of Centos is SELinux (Security Enhanced Linux) beside the standard access control, file context setting is used. This can prevent application to access files.

The main issue for DrawMGT, that httpd (apache) can not access files, if

See more information on Controlling and Maintaining SELinux.

To allow to access files by httpd under /var/www/html (or in the appropriate directory in deeper level) use restorecon -R /var/www/html as root. To allow to use files by httpd under /home, use chcon under the appropriate directory. E.g. chcon -R -t httpd_sys_content_t /home/wiki.

See the online manuals for more information. (man restorecon, man chcon)

Centos_Context (last edited 2009-10-20 17:34:20 by 183-56-147)

Copyright 2008, SoftXS GmbH, Switzerland