Skip to content

Instantly share code, notes, and snippets.

@barlas
Created September 9, 2015 11:58

Revisions

  1. barlas created this gist Sep 9, 2015.
    19 changes: 19 additions & 0 deletions httpd-userdir.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    # 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 Sites

    #
    # Control access to UserDir directories. The following is an example
    # for a site where these directories are restricted to read-only.
    #
    Include /private/etc/apache2/users/*.conf
    <IfModule bonjour_module>
    RegisterUserSite customized-users
    </IfModule>