Skip to content

Instantly share code, notes, and snippets.

@woliveiras
Created December 8, 2015 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woliveiras/3074199e4a926c70b73c to your computer and use it in GitHub Desktop.
Save woliveiras/3074199e4a926c70b73c to your computer and use it in GitHub Desktop.
File location: /etc/apache2/extra/httpd-userdir.conf
# 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment