Re: [問題] 關於apache的設定

看板FreeBSD作者 ( 反轉 & 扭迴)時間20年前 (2005/07/27 10:21), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/4 (看更多)
※ 引述《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
文章代碼(AID): #12vk-ZUK (FreeBSD)
文章代碼(AID): #12vk-ZUK (FreeBSD)