| 1 |
<IfDefine INFO>
|
| 2 |
<IfModule info_module>
|
| 3 |
<IfModule status_module>
|
| 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 |
# mod_info (for the server-info handler)
|
| 9 |
|
| 10 |
# Allow server status reports generated by mod_status,
|
| 11 |
# with the URL of http://servername/server-status
|
| 12 |
# Change the ".example.com" to match your domain to enable.
|
| 13 |
<Location /server-status>
|
| 14 |
SetHandler server-status
|
| 15 |
Order deny,allow
|
| 16 |
Deny from all
|
| 17 |
Allow from 127.0.0.1
|
| 18 |
</Location>
|
| 19 |
|
| 20 |
# ExtendedStatus controls whether Apache will generate "full" status
|
| 21 |
# information (ExtendedStatus On) or just basic information (ExtendedStatus
|
| 22 |
# Off) when the "server-status" handler is called. The default is Off.
|
| 23 |
ExtendedStatus On
|
| 24 |
|
| 25 |
# Allow remote server configuration reports, with the URL of
|
| 26 |
# http://servername/server-info (requires that mod_info.c be loaded).
|
| 27 |
# Change the ".example.com" to match your domain to enable.
|
| 28 |
<Location /server-info>
|
| 29 |
SetHandler server-info
|
| 30 |
Order deny,allow
|
| 31 |
Deny from all
|
| 32 |
Allow from 127.0.0.1
|
| 33 |
</Location>
|
| 34 |
</IfModule>
|
| 35 |
</IfModule>
|
| 36 |
</IfDefine>
|
| 37 |
|
| 38 |
# vim: ts=4 filetype=apache
|