SBDavid
Dec 20th, 2009
Dec 20th, 2009
How to track which site is using the apache processes
How to track which site is using the apache processes.
For apache 1.3, edit your /etc/httpd/conf/httpd.conf and add
ExtendedStatus On
<Location /httpd-status>
SetHandler server-status
</Location>
just after the code that says “ServerSignature On”. Save, exit, then restart apache. You can access the stats page by going to http://192.168.1.1/httpd-status where 192.168.1.1 is your server’s IP.
If you’re running apache 2.x with custombuild, then it’s already in the file:
/etc/httpd/conf/extra/httpd-info.conf
Change the “Allow from” lines to include your IP, or remove the line completely to allow from all.
Source : http://directadmin.com/