Knowledgebase
mod_status
Posted by alisaqi, 08-29-2007, 07:25 AM | Quote:
There's always mod_status for apache.
http://httpd.apache.org/docs/1.3/mod/mod_status.html
Should I remove '#' before this in httpd.conf?
#
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .example.com
#
I will replace example.com with my server domain, is that OK or I will need to do something else?
Please advise and thank you for your recommendations.
|
Posted by Cristi4n, 08-29-2007, 07:58 AM | Do you really need mod_status ?
|
Posted by alisaqi, 08-30-2007, 04:24 AM | isn't it good for server?
Actually I need this to monitor serever http traffic so I can then suspend few busy sites on my server which is causing for server overload.
access_log is not helpfull. Please advise.
|
Posted by ub3r, 08-30-2007, 06:45 AM | Just put this in your httpd.conf:
SetHandler server-status
then access yourip.com/lol-server-status. I wouldn't leave normal server-status open, as it could leak some potentially sensitive info.
|
Posted by david510, 08-31-2007, 05:42 AM | means the line is commented and will be ignored. If you need to enable the line, remove #.
|
|
Add to Favourites
Print this Article |
Also Read