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

Original ๐Ÿ“‹ Ubuntu 24.04 LTS (Noble Numbat) 23 lines

Works On

Viewing:
Ubuntu 24.04 LTS (Noble Numbat)
Same on:
Debian 13 (Trixie)
Other versions:

Details

Size
23 lines
MD5
a2068bd13eadd9b0b9168d94e21c37b6
SHA256
bd4009a7dca3d68c8f3d4c22dc549b4cbba0ec56fb5f3d82db6ba8ecb58cf589

Copy & Paste

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

For AI Agents

You are a DevOps agent. Fetch the default Apache HTTP Server config for Ubuntu 24.04 LTS (Noble Numbat) from https://exampleconfig.com/api/v1/config/original/a2068bd13eadd9b0b9168d94e21c37b6?hint=status.conf. Compare with my current /etc/apache2/mods-available/status.conf and summarize differences and safe changes.

Copy this prompt into Claude, ChatGPT, or other AI assistants.

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

Install Apache HTTP Server

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

File Location

File Path
/etc/apache2/mods-available/status.conf
Directory
/etc/apache2/mods-available/
Significance
System-wide configuration directory
Description
Files in /etc/ contain system-wide configuration settings that affect all users.

FAQ

When should I use this status.conf?

Restore it. Compare it. Start clean.

How do I restore Apache HTTP Server defaults?

Download, replace, restart.

Is status.conf safe for production?

Yes. This is exactly what shipped. Safe starting point.

How does this differ from other OS versions?

Defaults change. This one is specific to Ubuntu 24.04 LTS (Noble Numbat).

Can I use this for Apache HTTP Server troubleshooting?

Absolutely. Diff this against yours to spot the problem.