Apache Modules
published by Stefan Kecskes onEnable modules
Enable rewrite module with
sudo a2enmod rewrite
you will see the status of the module and message that you need to restart apache before the configuration change becomes active
Enabling module rewrite.
To activate the new configuration, you need to run:
service apache2 restart
so just simply run
service apache2 restart