Apache error: .htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module
Another straight to the point solution

.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
It appeared that module mod_rewrite was not enabled in Apache. After I enabled it- the error was gone and website started working.To enable the module edit apache's httpd.conf file and make sure this line is there uncommented:
LoadModule rewrite_module modules/mod_rewrite.so
Comments