I have found my particular mistake, for other people wanting to know how to fix this in similar situations.
I went to the apache2 folder and editted the apache2.conf
in that folder there's this piece of code. In here you should edit the AllowOverride to All aswell. i changed all of them. but thats probably not necessary. by the looks of it you should only have to change the one with directory /var/www/
I hope this helps other people