Tags


1). chmod 666 .htaccess
2). chown www-data:www-data .htaccess
3). a2enmod rewrite
4). cd /etc/apache2/
5). sudo vim/apache2.conf

change "AllowOverride None" to "AllowOverride All"

Options Indexes FollowSymLinks
AllowOverride All
Require all granted

save
4). /etc/init.d/apache2 restart
Advertisements