]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_status.conf
update doc links to 2.4 version
[packages/apache.git] / apache-mod_status.conf
index 775552877da6dd5bd4cf580898f892acd5bf2a16..6477a232966684203ebd6772a6030b24b6c9a917 100644 (file)
@@ -1,11 +1,34 @@
-# Allow server status reports, with the URL of http://servername/server-status
-# Change the ".your_domain.com" to match your domain to enable.
+LoadModule status_module               modules/mod_status.so
 
-<Location /server-status>
-SetHandler server-status
+#
+# Get information about the requests being processed by the server
+# and the configuration of the server.
+#
+# Required modules: mod_status (for the server-status handler),
+
+<IfModule mod_status.c>
+#
+# Allow server status reports generated by mod_status,
+# with the URL of http://servername/server-status
+# Change the ".example.com" to match your domain to enable.
 
-order deny,allow
-deny from all
-allow from 127.0.0.1
+<Location /server-status>
+       SetHandler server-status
+       # Require host .example.com
+       # Require ip 127
+       Require local
+       <IfModule mod_access_compat.c>
+               Order deny,allow
+               Deny from all
+               Allow from 127.0.0.1
+       </IfModule>
 </Location>
 
+#
+# ExtendedStatus controls whether Apache will generate "full" status
+# information (ExtendedStatus On) or just basic information (ExtendedStatus
+# Off) when the "server-status" handler is called. The default is Off.
+#
+#ExtendedStatus On
+
+</IfModule>
This page took 0.056692 seconds and 4 git commands to generate.