啟動 apache2 出現這錯誤訊息:
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 127.0.0.1 for ServerName
只要在 httpd.conf 或是 apache2.conf 裡面加上
ServerName 127.0.1.1 127.0.0.1
就不會出現了( localhost、Domain Name、IP,隨便一個加上去都可以)
文章標籤
全站熱搜

應該是 127.0.0.1 喔..
感謝指正
好快的回應!! 那麼請問一下.. ( localhost、Domain Name、IP,隨便一個加上去都可以) ==> 這是什麼意思?
就是 apache 裡面的 ServerName 這項設定,你要寫 127.0.0.1 , www.yourdomain.name , localhost 都可以,寫了啟動以後就不會有這項警告(當然要寫正確的啦)
真的加ServerName 127.0.01 到debain7 etc/apache2/apache2.conf 最底 service restart apache2 沒有出現Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName thx