Não é possível acessar o apache2 no Ubuntu 12.04

1

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?

    
por user254556 04.03.2014 / 08:21

1 resposta

1

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
    
por Maythux 04.03.2014 / 08:25