I am looking to enable .htaccess in my Ubuntu server, I have ssh access and have attempted:
sudo nano /etc/apache2/sites-available/default
and changing AllowOverride
from none to all under directory /var/www/ , but that causes my server to give me a 500 Internal Sever Error message...
Any solutions?
sudo a2enmod rewrite
and follow it up withsudo service apache2 restart
. If you're still getting an error, edit your question & add the contents of.htaccess
&/etc/apache2/apache2.conf
file