1#Ubuntu 18.04
21.Add this in 000-default.conf or sitename.conf inside /etc/apache2/sites-enabled/
3
4 <Directory /var/www/html>
5 Options Indexes FollowSymLinks
6 AllowOverride All
7 Require all granted
8 </Directory>
9
102. And restart (sudo service apache2 restart)
11