public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 2/2] Redirect Apache status requests
@ 2026-06-22 14:15 Peer Dietzmann
  2026-06-22 14:20 ` Peer Dietzmann
  0 siblings, 1 reply; 9+ messages in thread
From: Peer Dietzmann @ 2026-06-22 14:15 UTC (permalink / raw)
  To: development, dietzmann

Redirect requests to Apache's status to it's backend, force local requests.
This is required to allow Observium's agent to pull metrics from Apache.

Best,
Peer

Signed-off-by: Peer Dietzmann <dietzmann@brecht-schule.hamburg>
---
 config/httpd/httpd.conf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/config/httpd/httpd.conf b/config/httpd/httpd.conf
index c694bffe2..09b10b50f 100644
--- a/config/httpd/httpd.conf
+++ b/config/httpd/httpd.conf
@@ -49,4 +49,10 @@ Include /etc/httpd/conf/default-server.conf
 # Virtual server configuration
 Include /etc/httpd/conf/vhosts.d/*.conf
 
+# Allow local clients to pull Apache's status
+<Location /server-status>
+    SetHandler server-status
+    Require local
+</Location>
+
 # EOF
-- 
2.43.0



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-06-23 11:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22 14:15 [PATCH 2/2] Redirect Apache status requests Peer Dietzmann
2026-06-22 14:20 ` Peer Dietzmann
2026-06-22 14:59   ` Matthias Fischer
2026-06-22 15:07   ` Matthias Fischer
2026-06-22 17:18   ` Matthias Fischer
2026-06-22 20:42     ` Peer Dietzmann
2026-06-23  7:39       ` Matthias Fischer
2026-06-23  9:21         ` Peer Dietzmann
2026-06-23 11:32           ` Matthias Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox