sudo vi /etc/apache2/apache2.conf
# AccessFilename .htacces
<Directory ....> AllowOverride All Require all granted</Directory>