I have Apache 2.4.7. I also use ubuntu 14.04.3 LTS
So I followed this:
and this:
Error with .htaccess and mod_rewrite
What it is telling me is that I should go into apache2.conf and add "Require all granted" for it to work.
This is what the inside of my apache2.conf file looks like: