Open Apache Server Status
Release time: August 1, 2008 Category: Apache
"Ddzend tool provides download"
The efficiency of MD5 functions in PHP
Apache logs are many and miscellaneous, if you rely on the analysis of logs or check the server process to monitor Apache running state, more cumbersome. In fact, in the Apache 1.3.2 and later version of a feature module to view the Apache status Server-status
Open Apache Server Status
If your Apache configuration file httpd.conf or extra/httpd-info.conf has loadmodule status_module modules/mod_ Status.so, stating that your Apache has already loaded the module, or that adding--enable-module=so when compiling it also indicates that the server supports Server-status.
If Apache does not load this module, if it is a Linux server, it will have to recompile Apache, plus the--enable-module=so parameter, if you are a Windows system, no need to compile, just the time to say that LoadModule Status_module modules/mod_status.so This sentence plus, if the front with a # number, open, you need to remove the #.
Configure Apache Server Status
<location /ccvita-server-status> |
sethandler server-status |
order deny,allow |
deny from all |
allow from www.ccvita.com |
</location> |
extendedstatus on |
This is a complete server-status configuration.
The first line of Ccvita-server-status indicates that it can be accessed later with a similar http://www.ccvita.com/ccvita-server-status, while
Http://www.ccvita.com/ccvita-server-status?refresh=N will indicate that the Access Status page can be automatically refreshed every n seconds;
Deny from represents a forbidden access address;
Allow from represents the allowed address access;
Extendedstatus on indicates that detailed request information can be seen at the time of the visit, and that the setting can only be used for global settings and cannot be turned on or off in a specific virtual host. Enabling extended state information will cause the server to run less efficiently.
Open Apache Server Status