/etc/apache2/conf.d/userdir.conf - Alpine Linux v3

This is the default example configuration of userdir.conf provided by Apache. This config file was generated by Apache running on Alpine 3.

It is located under: /etc/apache2/conf.d/userdir.conf

    <IfModule userdir_module>
# Settings for user home directories
# Required module: mod_authz_core, mod_authz_host, mod_userdir

# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.  Note that you must also set
# the default access control for these directories, as in the example below.
UserDir public_html

# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
<Directory "/home/*/public_html">
    AllowOverride FileInfo AuthConfig Limit Indexes
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    Require method GET POST OPTIONS



Config Details

Operating system
Alpine Linux v3
23 lines
MD5 checksum


Download the raw file with wget or curl


wget -O userdir.conf.example http://exampleconfig.com/static/raw/apache/alpine3/etc/apache2/conf.d/userdir.conf


curl http://exampleconfig.com/static/raw/apache/alpine3/etc/apache2/conf.d/userdir.conf > userdir.conf.example