To allow apache to access /www:
chcon -R -t httpd_sys_content_t /www
to check the results:
ls -alZ /www
you should get something that looks like:
-rw-r–r– root root system_u:object_r:httpd_sys_content_t:s0 index.html
-rw-r–r– root root system_u:object_r:httpd_sys_content_t:s0 index.php
Type “man httpd_selinux” for a full description of available contexts.