Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache的地位(的WHM服務器的地位)在網頁主機的cPanel經理回報的空白頁
When webmaster uses WebHost Manager (WHM) to manage a cPanel-based web hosting package, he or she may encounters the problem that the Apache Status under the section of Server Status returns black page or blank screen with just the default cPanel WHM control center header.當網站管理員使用網頁主機服務經理(的WHM )管理的cPanel為基礎的虛擬主機方案,他或她可能遇到的問題, Apache的地位下,部分伺服器狀態回報黑色的網頁或空白的畫面,只要默認的cPanel的WHM控制中心標題。 In Apache error log (error_log file normally located in /etc/httpd/logs or /usr/local/apache/logs directory), the “[error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/whm-server-status” error message will be found.在Apache的錯誤日誌( error_log文件通常位於在/ etc /的httpd /日誌或/ usr /地方/阿帕奇/日誌目錄) , “ [錯誤] [客戶端127.0.0.1 ]文件不存在:在/ usr / local /阿帕奇/ htdocs /的WHM服務器的地位“的錯誤訊息會被發現。 The reason and cause of this error is due to misconfiguration of Apache HTTPD web server configuration file.原因及此錯誤的原因是由於錯誤的Apache的httpd Web服務器配置文件。
On a new cPanel web host, the Apache configuration file (httpd.conf) will be configured to set location of /whm-server-status to be handled by server-status feature of Apache.對一個新的cPanel Web主機, Apache配置文件( httpd.conf中)將配置設置的位置/的WHM服務器的地位,處理服務器狀態功能的Apache 。 If this few lines of code is removed, Apache no longer know what to do when WHM trying to access /whm-server-status, just like when you remove or delete an alias or virtual host configuration, the alias or vhost no longer be accessible.如果這幾行代碼刪除,阿帕奇不再知道做什麼,當的WHM嘗試訪問/的WHM服務器的地位,就像當您移除或刪除一個別名或虛擬主機配置,別名或vhost不再進出。
To solve the error, simply add the following lines to httpd.conf file, normally located in /etc/httpd/conf or /usr/local/apache/logs.要解決錯誤,只需將下列語句添加到httpd.conf文件,通常位於在/ etc /的httpd / conf或在/ usr / local /阿帕奇/日誌。 These lines are by default added before the virtual hosts declaration.這些路線是由默認之前加上虛擬主機的宣言。
<Location /whm-server-status> <location /whm-server-status>
SetHandler server-status sethandler服務器的地位
Order deny,allow為了否認的,允許
Deny from all否認所有
Allow from 127.0.0.1允許從127.0.0.1
</Location> < /位置>
ExtendedStatus On extendedstatus對
The last line, ExtendedStatus On tells Apache tol generate “full” status information instead of just basic information when the “server-status” handler is called.最後一行, extendedstatus就告訴阿帕奇tol產生“充分”的狀態信息,而非只是基本資料時, “服務器狀態”處理,是所謂的。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要說明 :這是一個機器翻譯網頁是“按原樣”提供的擔保。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article原來的英語文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和貢獻,或取得技術的支持和幫助,在 My Digital Life Forums 我的數字生活論壇 . 。
Related Articles相關文章
- cPanel WHM Failed to Receive Status Information From Apache Error的cPanel的WHM沒有收到狀態信息從Apache的錯誤
- cPanel Invalid License File After Changing Hostname Error的cPanel無效的許可文件後,改變主機的錯誤
- cPanel Unable or Cannot Start or Restart POP3 Mail Service的cPanel無法或不能啟動或重新啟動POP3郵件服務
- How to Add IP Addresses to Server with cPanel WebHost Manager (WHM)如何添加IP地址的服務器的cPanel網頁主機服務經理(的WHM )
- How to Change Hostname in cPanel Web Host如何改變主機的cPanel在Web主機
- Starting Apache HTTPD Failed Due to Cannot Open or No Such mod_bwlimited, mod_log_bytes or mod_bandwidth Files開始的Apache的httpd失敗,由於無法打開,或沒有這樣的mod_bwlimited , mod_log_bytes或mod_bandwidth檔案
- Request URL /server-status or 404 Page Not Found Apache Error請求網址/服務器的地位或404未找到網頁Apache的錯誤
- Running apachectl status Returns lynx: not found Error運行apachectl地位回報猞猁:沒有發現錯誤
- Restore Full Backup or cpmove File in cPanel Web Host恢復完整備份或cpmove文件中的cPanel Web主機
- Cannot FTP to Web Host or Server running cPanel/WHM不能FTP發布到Web主機或服務器運行的cPanel /的WHM

































September 17th, 2007 22:48 2007年9月17日22時48分
[...] The error message only appears on cPanel 11, whereas in earlier version of cPanel, a blank page is returned. [ … … ]錯誤訊息,只出現在的cPanel 11 ,而在早期版本的cPanel ,一個空白頁是回來了。 [...] [ … … ]
June 22nd, 2008 00:39 2008年6月22日00:39
site busy no look canada ibm busy mail apple deliver cube look university black網站繁忙,沒有看加拿大IBM公司繁忙的郵件,蘋果提供立方體看看大學黑
September 4th, 2008 00:27 2008年9月4日0時27分
all pets we steven go apple stay this sun white australia usa所有的寵物,我們史蒂芬去蘋果留在這孫白澳大利亞美國
September 4th, 2008 05:53 2008年9月4日5時53分
http://timperu.alonhost.com