Manages the Apache mod_dir configuration file.
| Action | Description |
|---|---|
| :create | Create the configuration. |
| Name | Type | Default | Description |
|---|---|---|---|
| directory_index | Array | ['index.html', 'index.cgi', 'index.pl', 'index.php', 'index.xhtml', 'index.htm'] |
Ordered list of files to serve as directory index. |
apache2_mod_dir '' do
directory_index %w(index.html index.php)
end