Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration

This simply means that the Header module is not enabled in your apache2. You can enable Header module in apache2 by executing this command

sudo a2enmod headers