Error: Invalid Command ‘Header’, Perhaps Misspelled or Defined by a Module Not Included in The Server Configuration

Invalid Command ‘Header’, Perhaps Misspelled or Defined by a Module Not Included in The Server Configuration

This error can be solved by enabling the headers module.

Step1: Enable headers module.

#a2enmod headers

Step2: Restart apache service.

#service apache2 restart

That's all….

Leave a Reply

Your email address will not be published. Required fields are marked *