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

Get the default configuration file negotiation.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-available/negotiation.conf.

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

    <IfModule mod_negotiation.c>

	# LanguagePriority allows you to give precedence to some languages
	# in case of a tie during content negotiation.
	#
	# Just list the languages in decreasing order of preference. We have
	# more or less alphabetized them here. You probably want to change this.
	#
	LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv tr zh-CN zh-TW

	#
	# ForceLanguagePriority allows you to serve a result page rather than
	# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
	# [in case no accepted languages matched the available variants]
	#
	ForceLanguagePriority Prefer Fallback

</IfModule>

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

    
  

Config Details

Location
/etc/apache2/mods-available/negotiation.conf
Operating system
Ubuntu 20.04 LTS (Focal Fossa)
Length
20 lines
MD5 checksum
443398efdd41085bc1a70047f6e61c95

Usage

Download the raw file with wget or curl

Wget

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

cURL

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