apache Invalid command 'RewriteEngine', perhaps misspelled or defined code example Example: Invalid command 'RewriteEngine' a2enmod rewrite systemctl restart apache2