What you would need to check is the following.
- Make sure that Apache mod_rewrite is enabled, you can check that with this command:
apachectl -M | grep -i rewrite
- If you don't see the module, you can enable it with this command:
sudo a2enmod rewrite
Restart apache after running this command
- Make sure that AllowOverride is enabled for your htaccess file. In your Apache Vhost for the site in question (should be something like this:
sudo nano /etc/apache2/sites-available/mysite.conf) make sure that you have the following somewjere after the
Hope that this helps!