- Go to “/etc/apache2/apache2.conf”
- Change the following code
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
Change above code as like below. Removed Indexes from first line.
<Directory /var/www/> Options FollowSymLinks AllowOverride None Require all granted </Directory>
Please follow the below video instruction:
-
Restart Apache 2 web server, enter:
# /etc/init.d/apache2 restart
OR
$ sudo /etc/init.d/apache2 restart
OR
$ sudo service apache2 restart