selinux apache 403

C++
chcon -R --reference=/var/www /path/to/webroot
Source

Also in C++: