you don't have permission to access this resource code example
Example 1: You don't have permission to access this resource.
$ sudo systemctl restart apache2
Example 2: apache2 forbidden
chmod +x /dirname
$ sudo systemctl restart apache2
chmod +x /dirname