Apache mime_magic.conf configuration example for Ubuntu 18.04 LTS (Bionic Beaver)

Get the default configuration file mime_magic.conf for Apache, optimized for Ubuntu 18.04 LTS (Bionic Beaver). 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/mime_magic.conf.

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

    <IfModule mod_mime_magic.c>
	MIMEMagicFile /etc/apache2/magic
</IfModule>

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

    
  

Config Details

Location
/etc/apache2/mods-available/mime_magic.conf
Operating system
Ubuntu 18.04 LTS (Bionic Beaver)
Length
5 lines
MD5 checksum
ebeaf79afde03c805e795bb51eec155f

Usage

Download the raw file with wget or curl

Wget

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

cURL

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