Linux

When Apache returns 403 errors

If you’ve tried everything and still keep getting 403..

1
chcon -R --reference=/var/www /www/webroot

or

1
chcon -R -h -t httpd_sys_content_t /www/webroot