首页 > Web开发 > 详细

Apache运行时寻找ServerName

时间:2014-12-18 19:06:12      阅读:298      评论:0      收藏:0      [点我收藏+]

[root@localhost bin]# ./apachectl start

httpd: Could not reliably determine theserver‘s fully qualified domain name, using localhost.localdomain forServerName

[root@localhost bin]# ./apachectl stop

httpd: Could not reliably determine theserver‘s fully qualified domain name, using localhost.localdomain forServerName

//出现以上的现象,并不影响Apache的运行,只要对http.conf文件中:

#ServerName localhost:80  //将注释("#")去掉,就不会说找不到确定的服务器域名了。


本文出自 “运维” 博客,请务必保留此出处http://sky9896.blog.51cto.com/2330653/1591398

Apache运行时寻找ServerName

原文:http://sky9896.blog.51cto.com/2330653/1591398

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!