I have my small website (made for study purposes) on localhost and I am trying to get .htaccess working (note that I am a complete beginner to .htaccess). So far, I have discovered that .htaccess is not even read by the server (I tried creating a custom 404 page - no change).
I've got my server setup on a Raspberry Pi and I am accessing it over a local network. But even after allowing mod_rewrite using
sudo a2enmod rewrite (and rebooting apache2) it still doesn't work.
Any suggestions? Ask for any additional info. I will do my best to answer it.