Welcome, Guest. Please login or register.
Did you miss your activation email?
November 20, 2008, 01:21:38 AM

Login with username, password and session length

HomeHome HelpHelp SearchSearch LoginLogin RegisterRegister
Linux Forums Linux Servers Topic: Apache server-status 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Apache server-status  (Read 240 times)
« on: September 11, 2006, 05:29:59 AM »
Offline cursor
Jr. Member
*
Posts: 61
Gender: Male

View Profile WWW
If you find some script or domain is not working properly or taking server load too high in apche then to debug this you can enable the apache server-status as mentioned below:

Edit your httpd.conf file and make the below mentioned changes:

Find the line containing “ExtendedStatus”
Uncomment it and set it to on like:

Quote
ExtendedStatus On

Quote
<Location /server-status>
    SetHandler server-status

    Order Deny,Allow
    Deny from all
    Allow from .yourdom.com
</Location>


You can now access server statistics by using a Web browser to access the page htp://your.server.name/server-status

Or

# service httpd fullstatus

You can get the status page to update itself automatically if you have a browser that supports "refresh". Access the page htp://your.server.name/server-status?refresh=N to refresh the page every N seconds

Thanx
« Last Edit: September 11, 2006, 08:27:01 AM by cursor » Logged
« Reply #1 on: September 11, 2006, 07:56:53 AM »
Offline lazyidiot
New Member
*
Posts: 48
GNU/Lazy
Gender: Male

View Profile WWW
Thanks for the tip. I never knew this.
Logged

No guts, No glory, No brain, Same old story
Pages: [1] Go Up Print 
Linux Forums Linux Servers Topic: Apache server-status « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
SMFone design by A.M.A, ported to SMF 1.1 RC3 by Aäron.
Valid XHTML 1.0! Valid CSS!
http://forums.linuxwebadmin.info/links.html