When setting up a fresh install of apache on centos 6.x you may encounter a “403 forbidden” error stating proper permissions have not been set to access the index.html file.
This is due to SELinux not recognizing changed files in the document root. The cause comes from when you move “mv” files around. The original context is preserved in the kernels security module. To update SELinux you simply need to tell it to recursively index all files in your web directory using restorecon.
restorecon -r /var/www/html
Now all files should be accessible for apache.