]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_status.conf
Fix undefined symbol: ERR_GET_FUNC with openssl 3 and apply patch from
[packages/apache.git] / apache-mod_status.conf
index a9b43627f420013765deef04ece115419fbe0119..6477a232966684203ebd6772a6030b24b6c9a917 100644 (file)
@@ -1,16 +1,34 @@
-LoadModule status_module        modules/mod_status.so
+LoadModule status_module               modules/mod_status.so
 
-<IfModule mod_status.c>
+#
+# 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),
 
-# Allow server status reports, with the URL of http://servername/server-status
-# Change the ".your_domain.com" to match your domain to enable.
+<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.08279 seconds and 4 git commands to generate.