Apache HTTP Server /etc/apache2/mods-available/status.conf

Original 📋 Ubuntu 24.04 LTS (Noble Numbat) 23 Zeilen

Läuft auf

Ansicht:
Ubuntu 24.04 LTS (Noble Numbat)
Gleich auf:
Debian 13 (Trixie)
Andere Versionen:

Details

Größe
23 Zeilen
MD5
a2068bd13eadd9b0b9168d94e21c37b6
SHA256
bd4009a7dca3d68c8f3d4c22dc549b4cbba0ec56fb5f3d82db6ba8ecb58cf589
/etc/apache2/mods-available/status.conf
# 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
	Require local
	#Require ip 192.0.2.0/24
</Location>

# 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>

Kopieren & Einfügen

curl:
curl https://exampleconfig.com/api/v1/config/original/a2068bd13eadd9b0b9168d94e21c37b6?hint=status.conf
wget:
wget -O status.conf https://exampleconfig.com/api/v1/config/original/a2068bd13eadd9b0b9168d94e21c37b6?hint=status.conf

Für KI-Agenten

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/a2068bd13eadd9b0b9168d94e21c37b6?hint=status.conf' /><config><app>Apache HTTP Server</app><os>Ubuntu 24.04 LTS (Noble Numbat)</os><location>/etc/apache2/mods-available/status.conf</location><lines>23</lines><md5>a2068bd13eadd9b0b9168d94e21c37b6</md5><sha256>bd4009a7dca3d68c8f3d4c22dc549b4cbba0ec56fb5f3d82db6ba8ecb58cf589</sha256></config></prompt>

Füge es in Claude, ChatGPT oder einen anderen KI-Assistenten ein.

Apache HTTP Server installieren

Alpine Linux

sudo apk add apache2

Debian

sudo apt update && sudo apt install apache2

Red Hat Enterprise Linux

sudo yum install httpd

Ubuntu

sudo apt update && sudo apt install apache2

Ablageort

Pfad
/etc/apache2/mods-available/status.conf
Verzeichnis
/etc/apache2/mods-available/
Bedeutung
Systemweites Konfig-Verzeichnis
Beschreibung
In /etc/ liegen systemweite Einstellungen, die alle Benutzer betreffen.

FAQ

Wann sollte ich status.conf verwenden?

Nutze sie, um eine fehlende Default-Datei wiederherzustellen, zu prüfen, was ausgeliefert wurde, oder sie gegen deine aktuelle Apache HTTP Server-Config zu diffen.

Wie stelle ich die Defaults von Apache HTTP Server wieder her?

Lad die Datei runter, sichere die aktuelle in /etc/apache2/mods-available/status.conf, ersetze sie und lade Apache HTTP Server neu oder starte es neu.

Ist status.conf für den produktiven Einsatz geeignet?

Das ist der Hersteller-Default für Ubuntu 24.04 LTS (Noble Numbat). Nimm sie als Basis und prüf Security- und Performance-Einstellungen, bevor du sie produktiv nutzt.

Wie unterscheidet sich das von anderen OS-Versionen?

Defaults variieren je nach Distro und Version. Diese Version passt zu Ubuntu 24.04 LTS (Noble Numbat).

Kann ich das fürs Troubleshooting von Apache HTTP Server nutzen?

Ja. Diff es gegen deine Version, finde Abweichungen und stell nur die Teile wieder her, die du brauchst.