Apache mod_rewrite is enable on server but not working?
To fix this issue follow this:
sudo nano /etc/apache2/apache2.conf
Find:
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted</Directory>
Replace With:
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted</Directory>
Exit and save and restart apache with command
sudo systemctl restart apache2
THE END :-)