github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_4_58/conf/extra/httpd-info.conf (about)

     1  #
     2  # Get information about the requests being processed by the server
     3  # and the configuration of the server.
     4  #
     5  # Required modules: mod_authz_core, mod_authz_host,
     6  #                   mod_info (for the server-info handler),
     7  #                   mod_status (for the server-status handler)
     8  
     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  
    14  <Location /server-status>
    15      SetHandler server-status
    16      Require host .example.com
    17      Require ip 127
    18  </Location>
    19  
    20  #
    21  # ExtendedStatus controls whether Apache will generate "full" status
    22  # information (ExtendedStatus On) or just basic information (ExtendedStatus
    23  # Off) when the "server-status" handler is called. The default is Off.
    24  #
    25  #ExtendedStatus On
    26  
    27  #
    28  # Allow remote server configuration reports, with the URL of
    29  #  http://servername/server-info (requires that mod_info.c be loaded).
    30  # Change the ".example.com" to match your domain to enable.
    31  #
    32  <Location /server-info>
    33      SetHandler server-info
    34      Require host .example.com
    35      Require ip 127
    36  </Location>