]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_status.conf
- relative symlinks, rpm.org does not like absolute ones
[packages/apache.git] / apache-mod_status.conf
index 7f03ba6c7ae1e93d31a16a51e438cd52441003c8..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
+
+#
+# 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.
 
 <Location /server-status>
        SetHandler server-status
-
-       order deny,allow
-       deny from all
-       allow from 127.0.0.1
+       # 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.026758 seconds and 4 git commands to generate.