/etc/apache2/mods-available/dir.conf - Ubuntu 16.04 LTS (Xenial Xerus)

This is the default example configuration of dir.conf provided by Apache. This config file was generated by Apache running on Ubuntu 16.04.

It is located under: /etc/apache2/mods-available/dir.conf

    <IfModule mod_dir.c>
	DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
</IfModule>

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

    
  

Config Details

Location
/etc/apache2/mods-available/dir.conf
Operating system
Ubuntu 16.04 LTS (Xenial Xerus)
Length
5 lines
MD5 checksum
fe4bc5fa3b3cc7a241fe57f8fabc55a1

Usage

Download the raw file with wget or curl

Wget

wget -O dir.conf.example http://exampleconfig.com/static/raw/apache/ubuntu16.04/etc/apache2/mods-available/dir.conf

cURL

curl http://exampleconfig.com/static/raw/apache/ubuntu16.04/etc/apache2/mods-available/dir.conf > dir.conf.example