Stuff…

I know I will forget.

Stuff… header image 2

Apache on Ubuntu Invalid command ‘RewriteEngine’

May 25th, 2009 · No Comments

Was getting the an error in the error log:

.htaccess: Invalid command ‘RewriteEngine’

and the site with a .htaccess file wasn’t working (“Internal server error”).

Turns out that the mod rewrite was not enabled and can be enabled with:

sudo a2enmod rewrite

Tags: Linux · Operating System

0 responses so far ↓

  • There are no comments yet...

Leave a Comment