You don't have permission to access this resource.
$ sudo systemctl restart apache2
You don't have permission to access this resource.
$ sudo systemctl restart apache2
You don't have permission to access this resource.
####### Adjust directives in Apache main configuration file
In Apache’s main configuration file /etc/apache2/apache2.conf, ensure that you
have this block of code:
<VirtualHost *:80>
....
<Directory /var/www/html/PATH_TO_DIR/>
AllowOverride All
Require all granted
</Directory>
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
.....
.....
</VirtualHost>
Save and exit and thereafter, restart the Apache.
sudo systemctl restart apache2
apache you don't have access to this resource
<VirtualHost *:80>
ServerAdmin email
DocumentRoot /var/www
ServerName domain_or_ipAddress
<Directory /var/www/>
AllowOverride All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us