Chris PeBenito ab58ad
# apache
Chris PeBenito ab58ad
HOME_DIR/((www)|(web)|(public_html))(/.+)? system_u:object_r:httpd_ROLE_content_t:s0
Chris PeBenito ab58ad
/var/www(/.*)?			system_u:object_r:httpd_sys_content_t:s0
Chris PeBenito ab58ad
/srv/([^/]*/)?www(/.*)?		system_u:object_r:httpd_sys_content_t:s0
Chris PeBenito ab58ad
/var/www/cgi-bin(/.*)?		system_u:object_r:httpd_sys_script_exec_t:s0
Chris PeBenito ab58ad
/usr/lib/cgi-bin(/.*)?		system_u:object_r:httpd_sys_script_exec_t:s0
Chris PeBenito ab58ad
/var/www/perl(/.*)?		system_u:object_r:httpd_sys_script_exec_t:s0
Chris PeBenito ab58ad
/var/www/icons(/.*)?		system_u:object_r:httpd_sys_content_t:s0
Chris PeBenito ab58ad
/var/cache/httpd(/.*)?		system_u:object_r:httpd_cache_t:s0
Chris PeBenito ab58ad
/var/cache/php-eaccelerator(/.*)? system_u:object_r:httpd_cache_t:s0
Chris PeBenito ab58ad
/var/cache/php-mmcache(/.*)?	system_u:object_r:httpd_cache_t:s0
Chris PeBenito ab58ad
/var/cache/mason(/.*)?	system_u:object_r:httpd_cache_t:s0
Chris PeBenito ab58ad
/var/cache/rt3(/.*)?	system_u:object_r:httpd_cache_t:s0
Chris PeBenito ab58ad
/etc/httpd		-d	system_u:object_r:httpd_config_t:s0
Chris PeBenito ab58ad
/etc/httpd/conf.*		system_u:object_r:httpd_config_t:s0
Chris PeBenito ab58ad
/etc/httpd/logs			system_u:object_r:httpd_log_t:s0
Chris PeBenito ab58ad
/etc/httpd/modules		system_u:object_r:httpd_modules_t:s0
Chris PeBenito ab58ad
/etc/apache(2)?(/.*)?		system_u:object_r:httpd_config_t:s0
Chris PeBenito ab58ad
/etc/vhosts		--	system_u:object_r:httpd_config_t:s0
Chris PeBenito ab58ad
/usr/lib(64)?/apache(/.*)?		system_u:object_r:httpd_modules_t:s0
Chris PeBenito ab58ad
/usr/lib(64)?/apache2/modules(/.*)?	system_u:object_r:httpd_modules_t:s0
Chris PeBenito ab58ad
/usr/lib(64)?/httpd(/.*)?		system_u:object_r:httpd_modules_t:s0
Chris PeBenito ab58ad
/usr/sbin/httpd(\.worker)?	--	system_u:object_r:httpd_exec_t:s0
Chris PeBenito ab58ad
/usr/sbin/apache(2)?	--	system_u:object_r:httpd_exec_t:s0
Chris PeBenito ab58ad
/usr/sbin/suexec	--	system_u:object_r:httpd_suexec_exec_t:s0
Chris PeBenito ab58ad
/usr/lib(64)?/cgi-bin/(nph-)?cgiwrap(d)? -- system_u:object_r:httpd_suexec_exec_t:s0
Chris PeBenito ab58ad
/usr/lib(64)?/apache(2)?/suexec(2)? -- system_u:object_r:httpd_suexec_exec_t:s0
Chris PeBenito ab58ad
/var/log/httpd(/.*)?		system_u:object_r:httpd_log_t:s0
Chris PeBenito ab58ad
/var/log/apache(2)?(/.*)?	system_u:object_r:httpd_log_t:s0
Chris PeBenito ab58ad
/var/log/cgiwrap\.log.*	--	system_u:object_r:httpd_log_t:s0
Chris PeBenito ab58ad
/var/cache/ssl.*\.sem	--	system_u:object_r:httpd_cache_t:s0
Chris PeBenito ab58ad
/var/cache/mod_ssl(/.*)?	system_u:object_r:httpd_cache_t:s0
Chris PeBenito ab58ad
/var/run/apache.*		system_u:object_r:httpd_var_run_t:s0
Chris PeBenito ab58ad
/var/lib/httpd(/.*)?		system_u:object_r:httpd_var_lib_t:s0
Chris PeBenito ab58ad
/var/lib/php/session(/.*)?	system_u:object_r:httpd_var_run_t:s0
Chris PeBenito ab58ad
/etc/apache-ssl(2)?(/.*)?	system_u:object_r:httpd_config_t:s0
Chris PeBenito ab58ad
/usr/lib/apache-ssl/.+	 --	system_u:object_r:httpd_exec_t:s0
Chris PeBenito ab58ad
/usr/sbin/apache-ssl(2)? --	system_u:object_r:httpd_exec_t:s0
Chris PeBenito ab58ad
/var/log/apache-ssl(2)?(/.*)?	system_u:object_r:httpd_log_t:s0
Chris PeBenito ab58ad
/var/run/gcache_port	-s	system_u:object_r:httpd_var_run_t:s0
Chris PeBenito ab58ad
ifdef(`distro_debian', `
Chris PeBenito ab58ad
/var/log/horde2(/.*)?		system_u:object_r:httpd_log_t:s0
Chris PeBenito ab58ad
')
Chris PeBenito ab58ad
ifdef(`distro_suse', `
Chris PeBenito ab58ad
# suse puts shell scripts there :-(
Chris PeBenito ab58ad
/usr/share/apache2/[^/]*	--	system_u:object_r:bin_t:s0
Chris PeBenito ab58ad
/usr/sbin/httpd2-.*		--	system_u:object_r:httpd_exec_t:s0
Chris PeBenito ab58ad
')
Chris PeBenito ab58ad
/var/lib/squirrelmail/prefs(/.*)?	system_u:object_r:httpd_squirrelmail_t:s0
Chris PeBenito ab58ad
/var/spool/squirrelmail(/.*)?	system_u:object_r:squirrelmail_spool_t:s0
Chris PeBenito ab58ad
/usr/bin/htsslpass --	system_u:object_r:httpd_helper_exec_t:s0
Chris PeBenito ab58ad
/usr/share/htdig(/.*)?		system_u:object_r:httpd_sys_content_t:s0
Chris PeBenito ab58ad
/var/lib/htdig(/.*)?		system_u:object_r:httpd_sys_content_t:s0
Chris PeBenito ab58ad
/etc/htdig(/.*)?		system_u:object_r:httpd_sys_content_t:s0
Chris PeBenito ab58ad
/var/spool/gosa(/.*)?		system_u:object_r:httpd_sys_script_rw_t:s0
Chris PeBenito ab58ad
ifdef(`targeted_policy', `', `
Chris PeBenito ab58ad
/var/spool/cron/apache		-- 	system_u:object_r:user_cron_spool_t:s0
Chris PeBenito ab58ad
')
Chris PeBenito ab58ad
/usr/sbin/apachectl		-- 	system_u:object_r:initrc_exec_t:s0
Chris PeBenito ab58ad