/etc/apache2/mods-available/userdir.conf - Ubuntu 12.04 LTS (Precise Pangolin)

This is the default example configuration of userdir.conf provided by Apache. This config file was generated by Apache running on Ubuntu 12.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>
                        Order allow,deny
                        Allow from all
                </Limit>
                <LimitExcept GET POST OPTIONS>
                        Order deny,allow
                        Deny from all
                </LimitExcept>
        </Directory>
</IfModule>


    
  

Config Details

Location
/etc/apache2/mods-available/userdir.conf
Operating system
Ubuntu 12.04 LTS (Precise Pangolin)
Length
18 lines
MD5 checksum
244c49845e4986820171b98bf20d9894

Usage

Download the raw file with wget or curl

Wget

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

cURL

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