Apache dir.conf configuration example for Debian GNU/Linux 10 (buster)

Get the default configuration file dir.conf for Apache, optimized for Debian GNU/Linux 10 (buster). 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/dir.conf.

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

    <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
Debian GNU/Linux 10 (buster)
Length
5 lines
MD5 checksum
fe4bc5fa3b3cc7a241fe57f8fabc55a1

Usage

Download the raw file with wget or curl

Wget

wget -O dir.conf.example https://exampleconfig.com/static/raw/apache/debian10/etc/apache2/mods-available/dir.conf

cURL

curl https://exampleconfig.com/static/raw/apache/debian10/etc/apache2/mods-available/dir.conf > dir.conf.example