반응형
아파치에 Header를 추가 설정해야 되는 부분이 있어서 작업을 했는데, 아파치 syntax검사를 해보니
Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configurationAction '-t' failed. The Apache error log may have more information.
이런 에러가 발생 함.
* 해결방법
sudo a2enmod headers 명령어 입력
root@test:/etc/apache2/conf-available# sudo a2enmod headers
입력 후 아래와 같이 apache2 다시 재기동하라는 메세지 발생
Enabling module headers.
To activate the new configuration, you need to run:
systemctl restart apache2
apache2 재기동 후 syntax검사해보니 OK 사인 떨어진다.

반응형
'IT > 서버' 카테고리의 다른 글
[AWS] MFA설정방법 With. google Authenticator (0) | 2023.08.11 |
---|---|
Apache 서버 작업 시 html페이지로 보내는 방법 (0) | 2023.03.31 |
[Tomcat] No matching bean found for view name (0) | 2023.02.16 |
(Linux) 리눅스 CPU, Memory 확인 방법 (0) | 2022.12.15 |