github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_2_34/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_status (for the server-status handler),
     6  #                   mod_info (for the server-info handler)
     7  
     8  #
     9  # Allow server status reports generated by mod_status,
    10  # with the URL of http://servername/server-status
    11  # Change the ".example.com" to match your domain to enable.
    12  
    13  <Location /server-status>
    14      SetHandler server-status
    15      Order deny,allow
    16      Deny from all
    17      Allow from .example.com
    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      Order deny,allow
    35      Deny from all
    36      Allow from .example.com
    37  </Location>