apache2modstatus
March 17, 2026 ยท View on GitHub
Manages the Apache mod_status configuration file.
Actions
| Action | Description |
|---|---|
| :create | Create the configuration. |
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| location | String | '/server-status' | URL path for the server status page. |
| status_allow_list | String, Array | ['127.0.0.1', '::1'] | IP addresses allowed to access the status page. |
| extended_status | String | 'On' | ExtendedStatus directive. |
| proxy_status | String | 'Off' | ProxyStatus directive. |
Examples
apache2_mod_status '' do
status_allow_list %w(127.0.0.1 ::1 10.0.0.0/8)
end