Apache status.conf configuration example for Ubuntu 20.04 LTS (Focal Fossa)

Get the default configuration file status.conf for Apache, optimized for Ubuntu 20.04 LTS (Focal Fossa). This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.

Find and download the configuration file here: /etc/apache2/mods-enabled/status.conf.

For more configurations and setup guides, visit our related files section to further customize your system.

    <IfModule mod_status.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 /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>


</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

    
  

Config Details

Location
/etc/apache2/mods-enabled/status.conf
Operating system
Ubuntu 20.04 LTS (Focal Fossa)
Length
29 lines
MD5 checksum
5d3689f109baf304af4f145249ca6326

Usage

Download the raw file with wget or curl

Wget

wget -O status.conf.example https://exampleconfig.com/static/raw/apache/ubuntu20.04/etc/apache2/mods-enabled/status.conf

cURL

curl https://exampleconfig.com/static/raw/apache/ubuntu20.04/etc/apache2/mods-enabled/status.conf > status.conf.example