apache2modalias
March 17, 2026 ยท View on GitHub
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