It is Moodle 3.1 on CentOS 7 and Apache 2.4.6.
Sometimes a regular page shows 403 error and then it loads on second attempt. Also, several times AJAX errors occured: teacher wants to add a file and the file area (the part where you preview files or click to add things from repo) is just loading, with that AJAX circle spinning.
Since 2.4 Apache got new access directives, I put them in (i.e. Require all granted), but these events still occurs. I got all filesystem permissions set right. Also, SElinux is in permissive mode.
This kind of errors are from apache error log:
client denied by server configuration: /var/www/html/theme/yui_combo.php
All AJAX and Javascript options are set to default values.