Enabling .htaccess file to rewrite path (not working)
firstly enable a2enmod
sudo a2enmod rewrite
and
sudo service apache2 restart
sudo nano /etc/apache2/sites-enabled/000-default.conf
add these lines at end
<Directory /var/www/html>
AllowOverride All
</Directory>
and
sudo service apache2 restart