public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Peer Dietzmann <dietzmann@brecht-schule.hamburg>
To: development@lists.ipfire.org, dietzmann@brecht-schule.hamburg
Subject: [PATCH 2/2] Redirect Apache status requests
Date: Mon, 22 Jun 2026 16:15:02 +0200	[thread overview]
Message-ID: <20260622141502.375427-1-dietzmann@brecht-schule.hamburg> (raw)

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



             reply	other threads:[~2026-06-22 14:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-22 14:15 Peer Dietzmann [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260622141502.375427-1-dietzmann@brecht-schule.hamburg \
    --to=dietzmann@brecht-schule.hamburg \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox