enable mod headers apache2 code example Example: apache enable mod headers sudo a2enmod headers && sudo service apache restart