Redhat: Apache webserver SELinux Types

From Define Wiki
Jump to navigation Jump to search

Apache File Types

There are seven types used for apcahe web server files. The first five apply to specific folders.

The last two would be used for websites in which forms write or append data.

Apache File Types
httpd_config_t /etc/httpd, /etc/httpd/conf, /etc/httpd/conf.d, /var/run/httpd
httpd_modules_t /usr/lib64/httpd/modules
https_log_t /var/log/httpd
httpd_sys_content_t /var/www, /var/www/error, /var/www/error, /var/www/html, /var/www/icons, /var/www/manual, /var/www/usage
httpd_sys_script_exec_t /var/www/cgi-bin
httpd_sys_content_rw_t n/a
httpd_sys_content_rw_t n/a