]> Frank Brehm's Git Trees - config/dev-mail-fbrehm/etc.git/commitdiff
Configuring Apache
authorFrank Brehm <frank@brehm-online.com>
Fri, 17 Jan 2025 14:22:40 +0000 (15:22 +0100)
committerFrank Brehm <frank@brehm-online.com>
Fri, 17 Jan 2025 14:22:40 +0000 (15:22 +0100)
apache2/mods-available/status.conf

index 1f8ea74dad149827a6d9aa0a1dc7c9221c19c2ee..2f0965665866ba75532975b09da47c3a00095cc5 100644 (file)
@@ -1,30 +1,29 @@
-# Allow server status reports generated by mod_status,
-# with the URL of http://servername/server-status
-# Uncomment and change the "192.0.2.0/24" to allow access from other hosts.
-
-<Location /server-status>
-       SetHandler server-status
-        AuthName "Server Status Access"
-        AuthType Basic
-        AuthBasicProvider file
-        AuthUserFile /etc/apache2/info_users_passwd
-        <RequireAny>
-            Require local
-            Require valid-user
-        </RequireAny>
+<IfModule mod_proxy.c>
+       # Allow server status reports generated by mod_status,
+       # with the URL of http://servername/server-status
+       # Uncomment and change the "192.0.2.0/24" to allow access from other hosts.
 
-</Location>
+       <Location /server-status>
+               SetHandler server-status
+                       AuthName "Server Status Access"
+                       AuthType Basic
+                       AuthBasicProvider file
+                       AuthUserFile /etc/apache2/info_users_passwd
+                       <RequireAny>
+                               Require local
+                               Require valid-user
+                       </RequireAny>
 
-# Keep track of extended status information for each request
-ExtendedStatus On
+       </Location>
 
-# Determine if mod_status displays the first 63 characters of a request or
-# the last 63, assuming the request itself is greater than 63 chars.
-# Default: Off
-#SeeRequestTail On
+       # Keep track of extended status information for each request
+       ExtendedStatus On
 
+       # Determine if mod_status displays the first 63 characters of a request or
+       # the last 63, assuming the request itself is greater than 63 chars.
+       # Default: Off
+       #SeeRequestTail On
 
-<IfModule mod_proxy.c>
        # Show Proxy LoadBalancer status in mod_status
        ProxyStatus On
 </IfModule>