]>
Commit | Line | Data |
---|---|---|
1 | LoadModule status_module modules/mod_status.so | |
2 | ||
3 | # | |
4 | # Get information about the requests being processed by the server | |
5 | # and the configuration of the server. | |
6 | # | |
7 | # Required modules: mod_status (for the server-status handler), | |
8 | ||
9 | <IfModule mod_status.c> | |
10 | # | |
11 | # Allow server status reports generated by mod_status, | |
12 | # with the URL of http://servername/server-status | |
13 | # Change the ".example.com" to match your domain to enable. | |
14 | ||
15 | <Location /server-status> | |
16 | SetHandler server-status | |
17 | # Require host .example.com | |
18 | # Require ip 127 | |
19 | Require local | |
20 | <IfModule mod_access_compat.c> | |
21 | Order deny,allow | |
22 | Deny from all | |
23 | Allow from 127.0.0.1 | |
24 | </IfModule> | |
25 | </Location> | |
26 | ||
27 | # | |
28 | # ExtendedStatus controls whether Apache will generate "full" status | |
29 | # information (ExtendedStatus On) or just basic information (ExtendedStatus | |
30 | # Off) when the "server-status" handler is called. The default is Off. | |
31 | # | |
32 | #ExtendedStatus On | |
33 | ||
34 | </IfModule> |