Article ID: 264, created on Dec 13, 2013, last review on May 3, 2014

  • Applies to:
  • Plesk 11.0 for Linux

解决方案

请在 httpd.conf 中启用此部分:

#
# Allow server status reports, with the URL of
http://servername/server-status
# Change the ".your-domain.com" to match your domain to enable.
#
# ExtendedStatus on
#<Location /server-status>
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .your-domain.com
#</Location>

然后会显示哪个 CGI 脚本正产生高负载。

您可以在下面找到更多信息:

http://httpd.apache.org/docs-2.0/mod/mod_status.html

您还可以设置为受密码保护:

ExtendedStatus on
<Location /server-status>
SetHandler server-status
AuthType basic
AuthName "Apache status"
AuthUserFile /etc/httpd/conf/server-status_htpasswd
Require valid-user
</Location>

然后重启 Apache。

29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c aea4cd7bfd353ad7a1341a257ad4724a 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article