Ativar o módulo de cabeçalhos
sudo ln -sf /etc/apache2/mods-available/headers.load /etc/apache2/mods-enabled/headers.load
Reiniciando o Apache
sudo service apache2 restart
Eu tento iniciar / reiniciar / recarregar meu apache2 no meu laptop, mas o resultado é falhar os erros assim:
Syntax error on line 1 of /etc/apache2/conf.d/fqdn: Invalid command 'exit',
perhaps misspelled or defined by a module not included in the server configuration
Action 'start' failed. The Apache error log may have more information.
Como resolver isso?
Ativar o módulo de cabeçalhos
sudo ln -sf /etc/apache2/mods-available/headers.load /etc/apache2/mods-enabled/headers.load
Reiniciando o Apache
sudo service apache2 restart