Apache 2 - You don't have permission to access this resource.

Apache 2 - You don't have permission to access this resource.

Have you ever tried any apache 2 configurations and still facing this issue? in my case I have this issue on ubuntu 22.04, ubuntu 22.04 default permission is 750, and apache2 requires execute (chmod +x) permission on your root working directory as well as the parents.

For example, my working directory is /home/fiko/www/testing/, then I need to execute:

chmod +x /home/fiko/www/testing/

and if you're still facing the issue, please try to check parent directory, parents should have the execute permission as well

chmod +x /home/fiko/www/
chmod +x /home/fiko/
chmod +x /home/

References: