Re: [問題] 關於apache的設定
※ 引述《a6530466.bbs@BBS.a6Crazy.twbbs.org (婉慈要快快好起來)》之銘言:
: ※ 引述《rhrphu.bbs@ptt.cc (小豆)》之銘言:
: > 今天剛灌了5.4
: > 也灌了apache
: > 設定的步驟都跟之前的版本設定的一樣
: > 但是一直出現
: > httpd: Could not determine the server's fully qualified domain name,
: > using 127.0.0.1 for ServerName apachectl start: httpd could not be started
: > 請問一下是因為版本不同設定不一樣
: > 還是哪裡有問題
: > 看了前面一樣的問題
: > 也做了同樣的設定
: > 還是不行
: > 麻煩幫忙解答
: 請看 /usr/local/etc/apache/httpd.conf ServerName 的部份
: #
: # ServerName allows you to set a host name which is sent back to clients for
: # your server if it's different than the one the program would get (i.e., use
: # "www" instead of the host's real name).
: #
: # Note: You cannot just invent host names and hope they work. The name you
: # define here must be a valid DNS name for your host. If you don't understand
: # this, ask your network administrator.
: # If your host doesn't have a registered DNS name, enter its IP address here.
: # You will have to access it by its address (e.g., http://123.45.67.89/)
: # anyway, and this will make redirections work in a sensible way.
: #
: # 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
: # machine always knows itself by this address. If you use Apache strictly for
: # local testing and development, you may use 127.0.0.1 as the server name.
: #
: 另外訊息應該夠明險了吧?
: httpd: Could not determine the server's fully qualified domain name,
: using 127.0.0.1 for ServerName apachectl start: httpd could not be started
: [亂亂中譯]
: httpd:不可以判定 Server 的 FQDN( server's fully qualified domain name ),
: 請為 ServervName (註1) 使用 127.0.0.1
: apachectl start:httpd 不能被啟動
: 註1:httpd.conf 內有個 ServerName 的設定區塊
您好 我也有同樣問題 但是我的ServerName已經註解掉了還是不可行QQ
--
◥All the pain. I thought I knew. All these thoughts lead back to you.
Back to what-◥Was never said. Back and forth
Inside my head- I can't handle this confusion- I'm unable ﹥﹥﹥☆
Come and take me away. Take me away ╰╮
* ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄Avril Take me away──────╯
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.172.165.125
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 3 之 4 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章