LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 936|回复: 8

这是怎么回事啊!!!!!!跪求正解啊

[复制链接]
发表于 2004-2-17 12:01:45 | 显示全部楼层 |阅读模式
启动 httpd:httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
                                                           [失败]

谢谢
发表于 2004-2-17 12:03:19 | 显示全部楼层
用ServerName在httpd.conf里搜索,搜索
 楼主| 发表于 2004-2-17 12:05:58 | 显示全部楼层
#ServerName new.host.name:80

#<VirtualHost *>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
 楼主| 发表于 2004-2-17 12:07:31 | 显示全部楼层
我的是局域网里的.
发表于 2004-2-17 16:22:48 | 显示全部楼层
修改/etc/hosts,将你主机名加进去就行了,,
发表于 2004-2-17 20:37:52 | 显示全部楼层
最初由 lluct 发表
#ServerName new.host.name:80

#<VirtualHost *>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

将红色的部分改为你的ip地址或者域名试试.其实不该也没有什么问题.
发表于 2004-2-17 20:47:26 | 显示全部楼层
最初由 EvilSeed 发表
将红色的部分改为你的ip地址或者域名试试.其实不该也没有什么问题.
ServerName new.host.name:80
发表于 2004-2-17 21:51:29 | 显示全部楼层
configure选项问题。
发表于 2004-2-17 23:49:26 | 显示全部楼层
apache没有用源代码编译过,我觉得rpm包已经写得够好了.使用正常,所以没有想过要去用源代码编译.linux看来需要了解的东西太多.不是很好学啊!
谢谢版主指教,不过不加:80好像也没有什么问题吧.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表