/etc/apache2/mods-enabled/dir.conf - Ubuntu 14.04 LTS (Trusty Tahr)

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

It is located under: /etc/apache2/mods-enabled/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-enabled/dir.conf
Operating system
Ubuntu 14.04 LTS (Trusty Tahr)
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/ubuntu14.04/etc/apache2/mods-enabled/dir.conf

cURL

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