apache: Always disable UserDir for root
This commit is contained in:
parent
2f5656ca68
commit
d1b9a88e1b
2 changed files with 8 additions and 6 deletions
|
@ -357,9 +357,10 @@ DocumentRoot "/srv/www/http/<%= @homename %>"
|
||||||
# of a username on the system (depending on home directory
|
# of a username on the system (depending on home directory
|
||||||
# permissions).
|
# permissions).
|
||||||
#
|
#
|
||||||
# puppet note: commented to make it possible to configure UserDir via
|
# UserDir is disabled by default since apache 2.1.14, explicitly always
|
||||||
# included config. UserDir is disabled by default since apache 2.1.14.
|
# disable for root.
|
||||||
#UserDir disable
|
#
|
||||||
|
UserDir disabled root
|
||||||
|
|
||||||
#
|
#
|
||||||
# To enable requests to /~user/ to serve the user's public_html
|
# To enable requests to /~user/ to serve the user's public_html
|
||||||
|
|
|
@ -361,9 +361,10 @@ DocumentRoot "/srv/www/https/<%= @homename %>"
|
||||||
# of a username on the system (depending on home directory
|
# of a username on the system (depending on home directory
|
||||||
# permissions).
|
# permissions).
|
||||||
#
|
#
|
||||||
# puppet note: commented to make it possible to configure UserDir via
|
# UserDir is disabled by default since apache 2.1.14, explicitly always
|
||||||
# included config. UserDir is disabled by default since apache 2.1.14.
|
# disable for root.
|
||||||
#UserDir disable
|
#
|
||||||
|
UserDir disabled root
|
||||||
|
|
||||||
#
|
#
|
||||||
# To enable requests to /~user/ to serve the user's public_html
|
# To enable requests to /~user/ to serve the user's public_html
|
||||||
|
|
Loading…
Add table
Reference in a new issue