network

apache server status 설정하기

느림의 미학 . 2013. 10. 25. 20:32

# Allow server status reports generated by mod_status,

# with the URL of http://servername/server-status

# Change the ".example.com" to match your domain to enable.

#

<Location /server-status>

    SetHandler server-status

    Order deny,allow

    Deny from all

    Allow from 192.168.0.2

</Location>


이부분 설정한뒤 


접속 


결과물


Apache Server Status for 192.168.0.10

Server Version: Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3
Server Built: Aug 13 2013 17:29:28

Current Time: Saturday, 26-Oct-2013 05:30:55 KST
Restart Time: Saturday, 26-Oct-2013 05:30:49 KST
Parent Server Generation: 0
Server uptime: 5 seconds
1 requests currently being processed, 7 idle workers
__W_____........................................................
................................................................
................................................................
................................................................

Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process

PID Key: 

   1330 in state: _ ,   1331 in state: _ ,   1332 in state: W 
   1333 in state: _ ,   1334 in state: _ ,   1335 in state: _ 
   1336 in state: _ ,   1337 in state: _ ,

To obtain a full report with current status information you need to use the ExtendedStatus On directive.


Apache/2.2.15 (CentOS) Server at 192.168.0.10 Port 80