Chris PeBenito de0d26
# temporary hack till genhomedircon is fixed
Chris PeBenito de0d26
ifdef(`targeted_policy',`
Chris PeBenito de0d26
HOME_DIR/((www)|(web)|(public_html))(/.+)? gen_context(system_u:object_r:httpd_user_content_t,s0)
Chris PeBenito de0d26
',`
Chris PeBenito e02c61
HOME_DIR/((www)|(web)|(public_html))(/.+)? gen_context(system_u:object_r:httpd_ROLE_content_t,s0)
Chris PeBenito de0d26
')
Chris PeBenito a996bd
Chris PeBenito e02c61
/etc/apache(2)?(/.*)?			gen_context(system_u:object_r:httpd_config_t,s0)
Chris PeBenito e02c61
/etc/apache-ssl(2)?(/.*)?		gen_context(system_u:object_r:httpd_config_t,s0)
Chris PeBenito 123a99
/etc/htdig(/.*)?			gen_context(system_u:object_r:httpd_sys_content_t,s0)
Chris PeBenito e02c61
/etc/httpd			-d	gen_context(system_u:object_r:httpd_config_t,s0)
Chris PeBenito e02c61
/etc/httpd/conf.*			gen_context(system_u:object_r:httpd_config_t,s0)
Chris PeBenito e02c61
/etc/httpd/logs				gen_context(system_u:object_r:httpd_log_t,s0)
Chris PeBenito e02c61
/etc/httpd/modules			gen_context(system_u:object_r:httpd_modules_t,s0)
Chris PeBenito e02c61
/etc/vhosts			--	gen_context(system_u:object_r:httpd_config_t,s0)
Chris PeBenito a996bd
Chris PeBenito e02c61
/srv/([^/]*/)?www(/.*)?			gen_context(system_u:object_r:httpd_sys_content_t,s0)
Chris PeBenito a3cf80
/srv/gallery2(/.*)?			gen_context(system_u:object_r:httpd_sys_content_t,s0)
Chris PeBenito a996bd
Chris PeBenito e02c61
/usr/bin/htsslpass 		--	gen_context(system_u:object_r:httpd_helper_exec_t,s0)
Chris PeBenito a996bd
Chris PeBenito e02c61
/usr/lib/apache-ssl/.+		--	gen_context(system_u:object_r:httpd_exec_t,s0)
Chris PeBenito e02c61
/usr/lib/cgi-bin(/.*)?			gen_context(system_u:object_r:httpd_sys_script_exec_t,s0)
Chris PeBenito 65b936
/usr/lib/squid/cachemgr.cgi	--	gen_context(system_u:object_r:httpd_exec_t,s0)
Chris PeBenito e02c61
/usr/lib(64)?/apache(/.*)?		gen_context(system_u:object_r:httpd_modules_t,s0)
Chris PeBenito e02c61
/usr/lib(64)?/apache2/modules(/.*)?	gen_context(system_u:object_r:httpd_modules_t,s0)
Chris PeBenito e749cd
/usr/lib(64)?/apache(2)?/suexec(2)? --	gen_context(system_u:object_r:httpd_suexec_exec_t,s0)
Chris PeBenito e02c61
/usr/lib(64)?/cgi-bin/(nph-)?cgiwrap(d)? -- gen_context(system_u:object_r:httpd_suexec_exec_t,s0)
Chris PeBenito e02c61
/usr/lib(64)?/httpd(/.*)?		gen_context(system_u:object_r:httpd_modules_t,s0)
Chris PeBenito a996bd
Chris PeBenito e02c61
/usr/sbin/apache(2)?		--	gen_context(system_u:object_r:httpd_exec_t,s0)
Chris PeBenito 123a99
/usr/sbin/apache-ssl(2)?	--	gen_context(system_u:object_r:httpd_exec_t,s0)
Chris PeBenito e02c61
/usr/sbin/httpd(\.worker)?	--	gen_context(system_u:object_r:httpd_exec_t,s0)
Chris PeBenito 123a99
/usr/sbin/rotatelogs		--	gen_context(system_u:object_r:httpd_rotatelogs_exec_t,s0)
Chris PeBenito 123a99
/usr/sbin/suexec		--	gen_context(system_u:object_r:httpd_suexec_exec_t,s0)
Chris PeBenito 123a99
Chris PeBenito a996bd
ifdef(`distro_suse', `
Chris PeBenito e02c61
/usr/sbin/httpd2-.*		--	gen_context(system_u:object_r:httpd_exec_t,s0)
Chris PeBenito a996bd
')
Chris PeBenito a996bd
Chris PeBenito e02c61
/usr/share/htdig(/.*)?			gen_context(system_u:object_r:httpd_sys_content_t,s0)
Chris PeBenito 5bd9fd
/usr/share/openca/htdocs(/.*)?		gen_context(system_u:object_r:httpd_sys_content_t,s0)
Chris PeBenito 123a99
/usr/share/selinux-policy([^/]*)?/html(/.*)? gen_context(system_u:object_r:httpd_sys_content_t,s0)
Chris PeBenito a996bd
Chris PeBenito e02c61
/var/cache/httpd(/.*)?			gen_context(system_u:object_r:httpd_cache_t,s0)
Chris PeBenito 955019
/var/cache/mason(/.*)?			gen_context(system_u:object_r:httpd_cache_t,s0)
Chris PeBenito 123a99
/var/cache/mod_ssl(/.*)?		gen_context(system_u:object_r:httpd_cache_t,s0)
Chris PeBenito e02c61
/var/cache/php-eaccelerator(/.*)?	gen_context(system_u:object_r:httpd_cache_t,s0)
Chris PeBenito e02c61
/var/cache/php-mmcache(/.*)?		gen_context(system_u:object_r:httpd_cache_t,s0)
Chris PeBenito 955019
/var/cache/rt3(/.*)?			gen_context(system_u:object_r:httpd_cache_t,s0)
Chris PeBenito e02c61
/var/cache/ssl.*\.sem		--	gen_context(system_u:object_r:httpd_cache_t,s0)
Chris PeBenito a996bd
Chris PeBenito 0f27d9
/var/lib/cacti/rra(/.*)?		gen_context(system_u:object_r:httpd_sys_content_t,s0)
Chris PeBenito 65b936
/var/lib/dav(/.*)?			gen_context(system_u:object_r:httpd_var_lib_t,s0)
Chris PeBenito e02c61
/var/lib/htdig(/.*)?			gen_context(system_u:object_r:httpd_sys_content_t,s0)
Chris PeBenito e02c61
/var/lib/httpd(/.*)?			gen_context(system_u:object_r:httpd_var_lib_t,s0)
Chris PeBenito e02c61
/var/lib/php/session(/.*)?		gen_context(system_u:object_r:httpd_var_run_t,s0)
Chris PeBenito e02c61
/var/lib/squirrelmail/prefs(/.*)?	gen_context(system_u:object_r:httpd_squirrelmail_t,s0)
Chris PeBenito a996bd
Chris PeBenito e02c61
/var/log/apache(2)?(/.*)?		gen_context(system_u:object_r:httpd_log_t,s0)
Chris PeBenito e02c61
/var/log/apache-ssl(2)?(/.*)?		gen_context(system_u:object_r:httpd_log_t,s0)
Chris PeBenito b0d224
/var/log/cacti(/.*)?			gen_context(system_u:object_r:httpd_log_t,s0)
Chris PeBenito e02c61
/var/log/cgiwrap\.log.*		--	gen_context(system_u:object_r:httpd_log_t,s0)
Chris PeBenito e02c61
/var/log/httpd(/.*)?			gen_context(system_u:object_r:httpd_log_t,s0)
Chris PeBenito a996bd
ifdef(`distro_debian', `
Chris PeBenito e02c61
/var/log/horde2(/.*)?			gen_context(system_u:object_r:httpd_log_t,s0)
Chris PeBenito a996bd
')
Chris PeBenito a996bd
Chris PeBenito e02c61
/var/run/apache.*			gen_context(system_u:object_r:httpd_var_run_t,s0)
Chris PeBenito e02c61
/var/run/gcache_port		-s	gen_context(system_u:object_r:httpd_var_run_t,s0)
Chris PeBenito 123a99
/var/run/httpd.*			gen_context(system_u:object_r:httpd_var_run_t,s0)
Chris PeBenito a996bd
Chris PeBenito e02c61
/var/spool/gosa(/.*)?			gen_context(system_u:object_r:httpd_sys_script_rw_t,s0)
Chris PeBenito e02c61
/var/spool/squirrelmail(/.*)?		gen_context(system_u:object_r:squirrelmail_spool_t,s0)
Chris PeBenito 123a99
ifdef(`strict_policy',`
Chris PeBenito e02c61
/var/spool/cron/apache		-- 	gen_context(system_u:object_r:user_cron_spool_t,s0)
Chris PeBenito a996bd
')
Chris PeBenito a996bd
Chris PeBenito e02c61
/var/www(/.*)?				gen_context(system_u:object_r:httpd_sys_content_t,s0)
Chris PeBenito e02c61
/var/www/cgi-bin(/.*)?			gen_context(system_u:object_r:httpd_sys_script_exec_t,s0)
Chris PeBenito e02c61
/var/www/icons(/.*)?			gen_context(system_u:object_r:httpd_sys_content_t,s0)
Chris PeBenito e02c61
/var/www/perl(/.*)?			gen_context(system_u:object_r:httpd_sys_script_exec_t,s0)