This is the default example configuration of userdir.conf provided by Apache. This config file was generated by Apache running on Ubuntu 14.04.
It is located under: /etc/apache2/mods-available/userdir.conf
<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
Download the raw file with wget or curl
wget -O userdir.conf.example http://exampleconfig.com/static/raw/apache/ubuntu14.04/etc/apache2/mods-available/userdir.conf
curl http://exampleconfig.com/static/raw/apache/ubuntu14.04/etc/apache2/mods-available/userdir.conf > userdir.conf.example
Other config files you might find useful