No .. it tells selinux that this data is web content which means that selinux won't prevent apache from accessing it. In RHEL/CentOS selinux is in targeted mode by default which means that specific applications are protected/restricted, apache httpd is one of them.
If you want to poke around try running 'ls -ldZ /var/www/html' and you'll see that it's type is 'httpd_sys_content_t', apache isn't allowed to serve any directories that aren't the right type. You can see all the possible types by running 'semanage fcontext -l'.
cheers
Last edited by kbp; 01-20-2011 at 04:21 PM.
|