Open the file with sublime to Set AllowOverride all apache2 Ubuntu 18.04
sudo subl /etc/apache2/apache2.conf
Find the line “AllowOverride None” and replace with “AllowOverride All”
Restart Apache2
sudo service apache2 restart
sudo subl /etc/apache2/apache2.conf
Find the line “AllowOverride None” and replace with “AllowOverride All”
Restart Apache2
sudo service apache2 restart