httpd-info.conf 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. # Allow server status reports generated by mod_status,
  9. # with the URL of http://servername/server-status
  10. # Change the ".test.com" to match your domain to enable.
  11. <Location /server-status>
  12. SetHandler server-status
  13. Order deny,allow
  14. Deny from all
  15. Allow from .test.com
  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 ".test.com" to match your domain to enable.
  27. #
  28. <Location /server-info>
  29. SetHandler server-info
  30. Order deny,allow
  31. Deny from all
  32. Allow from .test.com
  33. </Location>