Apache userdir.conf configuration example for Debian GNU/Linux 8 (jessie)

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

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

    <IfModule mod_userdir.c>
	UserDir public_html
	UserDir disabled root

	<Directory /home/*/public_html>
		AllowOverride FileInfo AuthConfig Limit Indexes
		Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
		<Limit GET POST OPTIONS>
			Require all granted
		</Limit>
		<LimitExcept GET POST OPTIONS>
			Require all denied
		</LimitExcept>
	</Directory>
</IfModule>

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

    
  

Config Details

Location
/etc/apache2/mods-available/userdir.conf
Operating system
Debian GNU/Linux 8 (jessie)
Length
17 lines
MD5 checksum
143f6c46903d32c98184186e30351dc2

Usage

Download the raw file with wget or curl

Wget

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

cURL

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