Programming/Apache httpd

[Apache] Set the 'ServerName' directive globally to suppress this message 에러

Yizi 2018. 7. 3. 12:19

아파치 웹 서버 로그 중에서

 

Set the 'ServerName' directive globally to suppress this message

 

이 로그는 기본적인 httpd.conf 파일에 있는 'ServerName'이 설정이 안 되어 있다는 뜻입니다.

 

보통

ServerName localhost

ServerName 127.0.0.1

ServerName 해당 PC IP

ServerName localhost:80

ServerName 127.0.0.1:80

ServerName 해당 PC IP:80

 

이 중 하나를 입력하면 됩니다.