Archive

Posts Tagged ‘.htaccess’

Apache server statistics:SetHandler,.htaccess,server-info,server-status

August 11th, 2010 No comments

<Files "server-info.php">
SetHandler server-info
</Files>

<Files "server-status.php">
SetHandler server-status
</Files>
Just put them in one of your .htaccess files,and then access the file:

http://yourdomain.tld/server-info.php

http://yourdomain.tld/server-status.php

you'll see the lamp server configure infomation and the current status of your server(how many concurrent people on your site,etc.).