Example: { domain httpd_t; program /usr/sbin/httpd; allow /var/www/cgi-bin/test.cgi r,s,dx; } { domain cgi_t; program /var/www/cgi-bin/test.cgi; allow ............ }In this case, httpd_t domain have dx permission to test.cgi. Domain is defined below. So, test.cgi runs as different domain.
deny /home/ynakam/public_html;does not work.