# 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:

```bash
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

```bash
chmod +x /home/fiko/www/
chmod +x /home/fiko/
chmod +x /home/
```

---

References:

* [https://askubuntu.com/questions/451922/apache-access-denied-because-search-permissions-are-missing](https://s.id/1Dctq)
    
* [https://devanswers.co/run-multiple-php-versions-on-apache/](https://s.id/1Dcui)
    
* [https://www.tecmint.com/forbidden-you-dont-have-permission-to-access-on-this-server-error/](https://s.id/1Dcul)
