Introducción
Intentando utilizar un software web que incluía un .htaccess y este se aprovechaba de la funcionalidad del RewriteEngine de Apache2, obtenía siempre el siguiente mensaje de error.
Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
Solución
Activar el módulo del RewriteEngine de Apache2.
$ sudo a2enmod rewrite
Reiniciar Apache2 para que tenga en cuenta al módulo recién activado.
$ sudo service apache2 restart




