Replace the default userdir.conf with a commented out one so our ~users work.
This commit is contained in:
parent
1df91d33fd
commit
b6701a5d7d
2 changed files with 36 additions and 0 deletions
35
roles/people/files/userdir.conf
Normal file
35
roles/people/files/userdir.conf
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
#
|
||||||
|
# UserDir: The name of the directory that is appended onto a user's home
|
||||||
|
# directory if a ~user request is received.
|
||||||
|
#
|
||||||
|
# The path to the end user account 'public_html' directory must be
|
||||||
|
# accessible to the webserver userid. This usually means that ~userid
|
||||||
|
# must have permissions of 711, ~userid/public_html must have permissions
|
||||||
|
# of 755, and documents contained therein must be world-readable.
|
||||||
|
# Otherwise, the client will only receive a "403 Forbidden" message.
|
||||||
|
#
|
||||||
|
<IfModule mod_userdir.c>
|
||||||
|
#
|
||||||
|
# UserDir is disabled by default since it can confirm the presence
|
||||||
|
# of a username on the system (depending on home directory
|
||||||
|
# permissions).
|
||||||
|
#
|
||||||
|
#UserDir enabled
|
||||||
|
|
||||||
|
#
|
||||||
|
# To enable requests to /~user/ to serve the user's public_html
|
||||||
|
# directory, remove the "UserDir disabled" line above, and uncomment
|
||||||
|
# the following line instead:
|
||||||
|
#
|
||||||
|
#UserDir public_html
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#</Directory>
|
|
@ -24,6 +24,7 @@
|
||||||
- cgit.conf
|
- cgit.conf
|
||||||
- people.conf
|
- people.conf
|
||||||
- ssl.conf
|
- ssl.conf
|
||||||
|
- userdir.conf
|
||||||
tags:
|
tags:
|
||||||
- people
|
- people
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue