zoukankan      html  css  js  c++  java
  • Could not reliably determine the server's fully qualified domain name

    每次在命令行重启apache 的时候总是提示

    httpd: Could not reliably determine the server's fully qualified domain name, us
    ing xxxxxxxxxx for ServerName

    虽然对服务没有什么影响,但是看清来就不不怎么爽。

    在baidu搜索了一下,才知道原来是因为早apache的配置文件中没有设置ServerName.

    去掉这个提示信息的方法很简单,

    找到apache的配置文件httpd.conf,搜索#ServerName www.domain.com:80 将该行签名的"#"去掉。重启apache 那个烦人的提示信息就会消失掉。

    假设apache安装路径为APACHE_ROOT,则httpd.conf文件的所在路径可表示为:APACHE_ROOT/conf/httpd.conf

    参考:http://apps.hi.baidu.com/share/detail/25225597

  • 相关阅读:
    1276
    1235
    1170
    Grids
    1137
    1127
    1076
    🍖Mysql三种模式的指定方式介绍
    🍖存储引擎介绍
    🍖MySQL库的详细操作
  • 原文地址:https://www.cnblogs.com/ainiaa/p/1969080.html
Copyright © 2011-2022 走看看