Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.3 KB

File metadata and controls

27 lines (19 loc) · 1.3 KB

apache2_mod_userdir

Back to resource list

Manages the Apache mod_userdir configuration file, which enables per-user web directories.

Actions

Action Description
:create Create the configuration.

Properties

Name Type Default Description
public_html_dir String '/home/*/public_html' UserDir directive — path to user public HTML directories.
options String 'MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec' Directory options for user directories.
allow_override String 'FileInfo AuthConfig Limit Indexes' AllowOverride settings. See https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride

Examples

apache2_mod_userdir '' do
  public_html_dir '/home/*/public_html'
end