apache rewriteengine on error code example Example: Invalid command 'RewriteEngine' a2enmod rewrite systemctl restart apache2