Invalid command ‘RequestHeader’, perhaps misspelled or defined by a module

If you are using Ubuntu just enable the module by running the following command:

sudo a2enmod headers

Of course restart Apache after that

service apache2 restart