httpd-info.conf 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. # 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. <Location /server-status>
  13. SetHandler server-status
  14. Require host .example.com
  15. Require ip 127
  16. </Location>
  17. #
  18. # ExtendedStatus controls whether Apache will generate "full" status
  19. # information (ExtendedStatus On) or just basic information (ExtendedStatus
  20. # Off) when the "server-status" handler is called. The default is Off.
  21. #
  22. #ExtendedStatus On
  23. #
  24. # Allow remote server configuration reports, with the URL of
  25. # http://servername/server-info (requires that mod_info.c be loaded).
  26. # Change the ".example.com" to match your domain to enable.
  27. #
  28. <Location /server-info>
  29. SetHandler server-info
  30. Require host .example.com
  31. Require ip 127
  32. </Location>