2016-04-04 17:59:59 +02:00
|
|
|
<IfModule mod_status.c>
|
2016-04-04 18:56:51 +02:00
|
|
|
# Allow server status reports generated by mod_status,
|
|
|
|
# with the URL of http://servername/server-status
|
|
|
|
# Uncomment and change the "192.0.2.0/24" to allow access from other hosts.
|
2016-04-04 17:59:59 +02:00
|
|
|
|
2016-04-04 18:56:51 +02:00
|
|
|
<Location {{ apache_status_location }}>
|
|
|
|
SetHandler server-status
|
|
|
|
Require local
|
2016-04-04 17:59:59 +02:00
|
|
|
{% if nagios_monitoring_server_ip is defined %}
|
|
|
|
{% for addr in nagios_monitoring_server_ip %}
|
2016-04-04 18:56:51 +02:00
|
|
|
Require ip {{ addr }}
|
2016-04-04 17:59:59 +02:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% for addr in apache_status_allowed_hosts %}
|
|
|
|
Require ip {{ addr }}
|
|
|
|
{% endfor %}
|
2016-04-04 18:56:51 +02:00
|
|
|
</Location>
|
2016-04-04 17:59:59 +02:00
|
|
|
|
2016-04-04 18:56:51 +02:00
|
|
|
# Keep track of extended status information for each request
|
|
|
|
ExtendedStatus On
|
2016-04-04 17:59:59 +02:00
|
|
|
|
2016-04-04 18:56:51 +02:00
|
|
|
# Determine if mod_status displays the first 63 characters of a request or
|
|
|
|
# the last 63, assuming the request itself is greater than 63 chars.
|
|
|
|
# Default: Off
|
|
|
|
#SeeRequestTail On
|
2016-04-04 17:59:59 +02:00
|
|
|
|
2016-04-04 18:56:51 +02:00
|
|
|
<IfModule mod_proxy.c>
|
|
|
|
# Show Proxy LoadBalancer status in mod_status
|
|
|
|
ProxyStatus On
|
|
|
|
</IfModule>
|
2016-04-04 17:59:59 +02:00
|
|
|
|
|
|
|
</IfModule>
|