Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.4 KB

File metadata and controls

28 lines (20 loc) · 1.4 KB

apache2_mod_alias

Back to resource list

Manages the Apache mod_alias configuration file.

Actions

Action Description
:create Create the configuration.

Properties

Name Type Default Description
options Array ['Indexes', 'MultiViews', 'SymLinksIfOwnerMatch'] Options for the alias directory block.
icondir String platform-specific (see helpers.rb) The icon directory path.
allow_override Array ['None'] AllowOverride settings. See https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride
require String 'all granted' Require directive. See https://httpd.apache.org/docs/2.4/mod/mod_authz_core.html#require

Examples

apache2_mod_alias '' do
  options %w(Indexes MultiViews SymLinksIfOwnerMatch)
end