Reputation: 4234
I have only a single line in the .htaccess file:
RewriteEngine On
Taking that line out makes the error go away. I've checked as many places as I know of for the AllowOverride rule (but I know next to nothing about how that works) and I thiiiiink it's set correctly, but I don't know for sure.
I can't figure out what's going on and I'm not sure what to even check. Any ideas? Thanks in advance.
Upvotes: 4
Views: 3135
Reputation: 2606
Enable the rewrite module in apache by command on ( for Ubuntu )
sudo a2enmod rewrite
Upvotes: 11
Reputation: 10192
Try replacing it with:
<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule
Upvotes: 2