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公司繁忙的邮件,苹果提供立方体看看大学黑