Possible reasons and solutions
i) SELinux settings enforcing a file serve
$ /etc/selinux/config
Change SELINUX = disabled within the file and check if this is the cause for the error
ii) Application directory under restricted user permission folder path
For example, configuring the django project inside /root folder and trying to serve those files via apache server (apache user).
Try changing the folder to a path that you think is good for allowing public access such /var/www or /opt/sites .
iii) File permission
Changing the read, write permission for the necessary files and folders
$ chmod -R 751 /home/mysite