本问题的根源是主机名相关的有错,解决方法简单! 进入http安装目录中的httpd.conf,即vim /etc/httpd/conf/httpd.conf,定位到#ServerName www.example.com:80,将前面的注释去掉,并且查看iptables里面是不是已经添加了80 ...
解决方案: 用记事本打开httpd.conf 将里面的 ServerNamelocalhost: 注释去掉即可。 再执行httpd 然后可以通过浏览器访问http: localhost: ,如果页面显示 It works ,即表示apache已安装并启动成功。 ...
2017-01-02 16:15 0 1724 推荐指数:
本问题的根源是主机名相关的有错,解决方法简单! 进入http安装目录中的httpd.conf,即vim /etc/httpd/conf/httpd.conf,定位到#ServerName www.example.com:80,将前面的注释去掉,并且查看iptables里面是不是已经添加了80 ...
解决方案: 用记事本打开 httpd.conf 将里面的 #ServerName localhost:80 注释去掉即可。 再执行 httpd 然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示 ...
apache环境配置 | httpd Could not reliably determine the server's fully qualified domain name 转 https ...
the server's fully qualified domain name, using 127.0.0.1 fo ...
启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name [root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl ...
1、通过vi打开apache的配置文件httpd.conf > vi /data/apache/conf/httpd.conf 2、找到#ServerName www.example.com:80这行,去掉前面的#号,修改如下: ServerName localhost:80 ...
以下总结在配置及启动apache2时出现报错的处理方法 一、启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name [root@server httpd ...
错误情况: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName ...