Apache2 : Invalid command ‘RewriteEngine’

by bitznbitez

If you see the following error when restarting Apache2 there is usually a simple resolution.

Invalid command 'RewriteEngine', perhaps misspelled or defined by a module 
not included in the server configuration

It may mean that you have not enable the rewrite mod in your apache server

% sudo a2enmod rewrite
% sudo service apache2 restart

If that doesn’t resolve it for you… happy googling…….

Advertisements