After i made a new Apache installation on Ubuntu in whose httpd.conf file i use the

RewriteEngine on

command, i got the following error, when starting Apache:

Invalid command ‘RewriteEngine’

To fix this problem, i executed

sudo a2enmod rewrite

to enable the Rewrite module.