crowbar/crowbar-core

View on GitHub
chef/cookbooks/apache2/templates/default/mods/status.conf.erb

Summary

Maintainability
Test Coverage
<IfModule mod_status.c>
#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Uncomment and change the ".example.com" to allow
# access from other hosts.
#
<Location /server-status>
    SetHandler server-status
    <%- if node[:apache][:version].to_f < 2.4 %>
    Order deny,allow
    Deny from all
    Allow from localhost ip6-localhost
#    Allow from .example.com
    <%- else %>
    Require local
    <%- end %>
</Location>

</IfModule>