Tuesday, October 29, 2013

[Ubuntu] Apache 未設定 ServerName 造成的警告

重新啟動 apache2 出現這錯誤訊息:
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1  for ServerName

只要在 httpd.conf 或是 apache2.conf 裡面加上

ServerName 127.0.0.1 即可。(/etc/apache2/httpd.conf)

No comments: