Knowledgebase

SELinux: Apache httpd file Permissions

To allow files in a directoy to be served by Apache with SELinux enabled:

chcon -R -t httpd_sys_content_t <directory>

To check on the files security permissions use:

ls -RZ <directory>
Kommentieren

Go back