We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sudo a2enmod rewrite
sudo gedit /etc/apache2/apache2.conf
change the AllowOverride value to "All"
sudo service apache2 restart
Please refer to this article How to setup Apache Mod Rewrite